Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.2k views
in Technique[技术] by (71.8m points)

Warning when someone else approves jenkins input

I have a scenario where we use jenkins for deployment in Dev/QA. But in production we want to have an approver, only when he(they) approve, deployment should proceed.

We achieved this through Jenkins prompt using input(submitter). Looks good. But our team wants to see a warning when anybody else other than submitter tries to approve, in normal cases nothing happens. Jenkins pipeline still waits until timeout or intended user approves.

How can I get a warning displayed with message that says something like 'You are not authorized user for approving' ?

Thanks.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...