-
Type:
Improvement
-
Resolution: Not A Defect
-
Priority:
Minor
-
Component/s: pipeline
-
Environment:Jenkins 1.649, workflow 1.13, git 2.4.2
we have multiple multibranch jobs for the same Git repo, each job doing something different, with the Stash webhook being used to trigger builds. Since the Jenkinsfile is shared in multibranch workflow job, we need a way for the Jenkinsfile to check some per-job property. The easiest (but dirty) way is to modify the Jenkinsfile to just parse the job name. Maybe the ability to set tags or environment variables on the job would be a solution?