{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 bash | |
# | |
# executes mvn clean for all sub directories containing a pom.xml | |
# | |
find . -name "pom.xml" -exec mvn clean -f '{}' \; |
#!/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"]) |
pipeline { | |
agent any | |
environment { | |
SECRET_TEXT = credentials("my-secret-text-crendentials-id") | |
USERNAME_PASSWORD = credentials("my-username-password-crendentials-id") | |
} | |
stages { |
pipeline { | |
agent any | |
tools { | |
jdk "11" | |
} | |
stages { | |
stage("Use maven") { |
name: Build | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main |
name: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main |
@Library("my-other-jenkins-lib@other-version") _ | |
pipeline { | |
agent any | |
environment { | |
SECRET_TEXT = credentials("googleChatWebhookCommonSystemTestsStatus") | |
} |
new WebDriverWait(webDriver, 4) | |
.ignoring(ElementClickInterceptedException.class, ElementNotInteractableException.class) | |
.until(driver -> { | |
final var button = driver.findElement(By.className("button"); | |
button.click(); | |
return button; | |
}); |
#!/usr/bin/env groovy | |
// see https://jenkins.io/doc/book/pipeline/syntax/ | |
pipeline { | |
agent any | |
parameters { | |
booleanParam(name: "RELEASE", defaultValue: false) | |
} |