Jenkins. Invalid agent type "docker" specified. Must be one of [any, label, none]
My JenkinsFile looks like: pipeline { agent { docker { image 'node:12.16.2' args '-p 3000:3000' } } stages { stage('Build') { steps { sh 'node --version' sh 'npm install' sh 'npm run build' } } stage ('Deliver') { steps { sh 'readlink -f ./package.json' } } } } I used to have Jenkins locally and this configuration worked, but I deployed it to a remote server