{WHY whould the reader want to read on? WHAT can this do? What are its limits?}
{What is the MINIMUM I need to do to use this?}
#!/usr/bin/env groovy | |
// see https://jenkins.io/doc/book/pipeline/syntax/ | |
pipeline { | |
agent any | |
parameters { | |
booleanParam(name: "RELEASE", defaultValue: false) | |
} |
#!/usr/bin/env groovy | |
// see https://jenkins.io/doc/book/pipeline/syntax/ | |
pipeline { | |
agent any | |
parameters { | |
booleanParam(name: "RELEASE", defaultValue: false) | |
choice(name: "DEPLOY_TO", choices: ["", "INT", "PRE", "PROD"]) |
#!/usr/bin/env groovy | |
// see https://jenkins.io/doc/book/pipeline/syntax/ | |
pipeline { | |
agent any | |
parameters { | |
booleanParam(name: "RELEASE", defaultValue: false) | |
choice(name: "DEPLOY_TO", choices: ["", "INT", "PRE", "PROD"]) |
new WebDriverWait(webDriver, 4) | |
.ignoring(ElementClickInterceptedException.class, ElementNotInteractableException.class) | |
.until(driver -> { | |
final var button = driver.findElement(By.className("button"); | |
button.click(); | |
return button; | |
}); |
name: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main |
name: Build | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main |