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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…