The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events