Executing Jenkins job on multiple environments Executing Jenkins job on multiple environments jenkins jenkins

Executing Jenkins job on multiple environments


I would recommend you to have separate jobs for different environments for better customization, for example, preprod can perform the auto deploy part but not for prod.

My company has the exact problem and we have them implemented with different jobs.

However, if you really want to do it with different parameters, I would suggest you use Dynamic Parameter Plugin: https://wiki.jenkins.io/plugins/servlet/mobile?contentId=60916644#content/view/60916644