How to change the jenkins job status manually ( user interaction ) ?

+1 vote

I have 7 freestyle jobs (A,B,C,D,E,F,G) in Pipeline, job A initial job, after A, we have three parallel test jobs (B,C,D). Job E is the report generation job, here we need to implement user interaction for Pipeline will continue or not?.

Conditions at Job E: 1) If Job E is successful, Pipeline will continue to Release 2) if Job E is Failed, Pipeline should be stop here. 3) if Job E is Unstable, here we need to implement user interaction. In user interaction, user need to change the Job E UNSTABLE status to either success or failure.

Eg:- If job E UNSTABLE, in user interaction. user click on proceed, job E changes unstable to SUCCESS user click on NO, job E changes unstable to failure.

Jul 24 in Jenkins by Veeranji
• 130 points
64 views

In case you are referring to manually promote a build, you could use the  "Promoted Builds Plugin" in jenkins. This plugin allows you to distinguish good builds from bad builds by introducing the notion of 'promotion' and then you could configure your next jenkins job in the pipeline based on this.Do have a look at  https://wiki.jenkins.io/display/JENKINS/Promoted+Builds+Plugin 

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Jenkins

+1 vote
4 answers
0 votes
2 answers

How to auto build a job in jenkins if there is any change in code on Github repository?

To automatically run build on code commit, follow ...READ MORE

answered Jul 31 in Jenkins by Sirajul
• 31,180 points
184 views
0 votes
1 answer

How do I pass value from my Fake # script to the host build server (Jenkins)

You can use the EnvInject plugin to pass environment ...READ MORE

answered Jul 11, 2018 in Jenkins by Kalgi
• 2,620 points
99 views
0 votes
3 answers

How to get the Maven Version of a project in Jenkins?

Here is a snippet from our Jenkins ...READ MORE

answered Oct 4 in Jenkins by Petr Doležal
1,356 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
181 views
0 votes
1 answer