# Pastebin vOYbdcdR env.TARGET = input message: 'Deploy Application?', ok: 'Go! Go! Go!', parameters: [choice(choices: 'Development\nStaging\nProduction', description: 'Pick Target Environment for Deployment.', name: 'TARGET')] } } stage("Run Tower Playbook"){ withTower(host:"https://104.198.10.204", credentials:"tower-cli"){ sh "tower-cli job launch --job-template=41 --monitor --extra-vars='target='${env.TARGET}" } } } }