input within the
Jenkinsfile suspends the build and waits infinitely for the user
input with configurable options.
A Yes / No dialog waits for user input and returns
false with the following code snippet:
See you at Java EE Workshops at MUC Airport, particularly at the Java EE CI/CD, Testing and Quality workshop
def doesJavaRock = input(message: 'Do you like Java?', ok: 'Yes', parameters: [booleanParam(defaultValue: true, description: 'If you like Java, just push the button',name: 'Yes?')]) echo "Java rocks?:" + doesJavaRock
Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition
airhacks.fm the podcast:
Stay in touch: airhacks.news.