Hi,
I have a problem with the Jenkins Integration.
We have some Jobs that run on a Jenkins Template. But some run on a Custom Jenkinsfile. The Jobs with a Custom Jenkinsfile give me a wrong deployment Info when I run the pipeline.
In this pipelines we have stages called "Multideploy prd" and "Multideploy rvw". I added the jiraSendDeploymentInfo in both post Steps of the stages.
The only difference is in the stage "Multideploy prd" I have the environtmentId "prd" and the environmentType "production". In the other it´s "rvw" and "testing".
The stages get skipped depending on the Branchname.
In my Testcase here its the Branch rvw. So the "Multideploy prd" stage gets skipped.
But in Jira I see both. A deployment for prd and rvw.
Help would be appreciated.
Thanks in Advance.