SHARE
TWEET
Untitled
a guest
Mar 23rd, 2017
68
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Error:
- org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
- WorkflowScript: 7: Expected a step @ line 7, column 17.
- env.ENVIRONMENT = input message: 'Deploy to a development environment', parameters: [choice(choices: 'development\ndevelopment-workers', description: '', name: 'ENVIRONMENT')]
- ^
- 1 error
- Jenkinsfile:
- stages {
- stage('Deploy') {
- steps {
- env.ENVIRONMENT = input message: 'Deploy to a development environment', parameters: [choice(choices: 'development\ndevelopment-workers', description: '', name: 'ENVIRONMENT')]
- echo "Deploying.... ${env.ENVIRONMENT}"
- sh 'env'
- sh 'echo ${env.ENVIRONMENT}'
- }
- }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

