DEV Community

Discussion on: Jenkins Pipelines and their dirty secrets 2.

Collapse
 
pencillr profile image
Richard Lenkovits

Hi there! I can't be sure without seeing the code but my guess is yes. Parameter declarations in the jenkinsfile overwrite the ones in the job signature. There's an alternative solution too, see here.

Collapse
 
ravikakadia profile image
ravikakadia

I will post the screen shots later today however I think you are right changing the Jenkins file will work for me.

Thread Thread
 
ravikakadia profile image
ravikakadia

Hi, it worked after making changes in the jenkinsfile.
Jenkinsfile is hosted on github repo which is being check-out at the time of job run. We are able to run with required default values after changing them in Jenkinsfile.
Thanks a lot for this article and help.