how can I read in the params from jenkins script shell sh?
pipeline {
stages{
stage('Deploy') {
steps {
sh 'python deploy.py ${params.version}'
}
}
}
}
I have tried several ways, but still not able to read in params.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/79457e00-4858-4fb5-825d-91e3a2976e13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.