Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 523 Bytes

WaitingForInput.md

File metadata and controls

25 lines (19 loc) · 523 Bytes
title description
Jenkins Issue: Jobs waiting for Input
How to fix this issue including code snippets.

Issue:

Jobs waiting for input.

Solution: Wrap the input in a timeout. To permit only specific users to promote set the submitter list (comma separated list of user ids).

Example:

stage('deploy-test') {
  timeout(time: 10, unit: 'MINUTES') {
    input message: "Deployment to test?", submitter: 'test-view,test1-view'
  }
}

See https://github.com/BCDevOps/jenkins-pipeline-shared-lib