pipeline { agent none parameters { string(name: 'testParam', defaultValue: 'defaultval', description: 'Enter some value') } stages { stage('First test') { steps { script { node { sh """ echo ${params.testParam} """ } } } } } }