Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

jiraSendDeploymentInfo in Jenkins sends testing as production

Colin Voehringer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 4, 2024

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.

Screenshot Code.png

In my Testcase here its the Branch rvw. So the "Multideploy prd" stage gets skipped.
Screenshot Jenkins.png

But in Jira I see both. A deployment for prd and rvw. Screenshot Jira Deployment.png

 

Help would be appreciated.

Thanks in Advance.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events