Gist for https://youtu.be/Um3-Oj72dF4
pipeline {
agent any
parameters {
string(name: 'PERSON', defaultValue: 'Mr Jenkins', description: 'Who should I say hello to?')
}
stages {
stage('Example') {
steps {
sh "echo Hello ${params.PERSON}"
}
}
}
}