Skip to content

Instantly share code, notes, and snippets.

@danielsiwiec
Created March 24, 2022 21:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielsiwiec/ece1f65d6c6953df628175cf11a246f7 to your computer and use it in GitHub Desktop.
Save danielsiwiec/ece1f65d6c6953df628175cf11a246f7 to your computer and use it in GitHub Desktop.
Conditional Changeset Pipeline
stage('Build foo-service') {
when { changeset pattern: "services/foo-service/*" }
steps {
Build the foo-service here
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment