Interview Prep/CI/CD/Jenkins Shared Libraries, Credentials and Security

You need pipeline-level approval workflows with multiple stages (QA, security, release manager). Design it in Jenkins.

AdvancedScenarioJenkins Shared Libraries, Credentials and Security
Answer

Situation read → Multi-party gated release.

What I'd do →

  1. Use sequential input stages with submitter set per role and submitterParameter to log who approved.
  2. Keep agent none while waiting and add timeouts with an auto-abort.
  3. Post each decision to the ticketing system (Jira API) and annotate the deployment in monitoring.
  4. Require the artifact digest to be identical across gates; re-verify the signature before the final deploy.

Why → Gates tie human approval to an immutable artifact, giving auditability.

Interview tip → Mention that approvals on the artifact digest prevent "approved A, shipped B".

All CI/CD questions

More on Jenkins Shared Libraries, Credentials and Security