I have a similar issue, I have a build job that is parameterized and am Not
able to successfully use that parameter to pass as an argument to my python
script in my pipeline stage
On Monday, July 10, 2017 at 2:46:17 PM UTC-7, Justin Khoo wrote:
>
> 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/52bb8118-5eb1-4e43-88d3-f91fff1f6311%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.