Prashanna
Prashanna

Reputation: 1001

How to get manual trigger button for a jenkins job?

I have a downstream jenkins job(B) which now gets triggered automatically by upstream job(A) if it is stable. But I want a manual trigger button in the pipeline view for job B. If job A is stable job B should wait for manual trigger to start. I'm using jenkins freestyle project for creating jobs.

Upvotes: 2

Views: 4369

Answers (1)

Hareesh R
Hareesh R

Reputation: 527

First you have to remove the downstream jobs from A. Follow the steps and disable first.

#goto the job B
#configure
#goto build triggers and uncheck the button 

build after other projects are built

So afterwards Job B will not get start automatically. And now you can goto your pipeline view and see and edit.

Upvotes: 0

Related Questions