Skip to content

Instantly share code, notes, and snippets.

@trobert2
Created March 21, 2019 09:05
Show Gist options
  • Save trobert2/b8969c2952b094e952611bcd41228719 to your computer and use it in GitHub Desktop.
Save trobert2/b8969c2952b094e952611bcd41228719 to your computer and use it in GitHub Desktop.
pipeline {
agent {
label "pod-label"
}
stages {
stage("Build") {
steps {
script {
container("container1"){
stage('Pre-requisites'){
<... steps ...>
}
}
// Fetch the BB credentials
container("container2") {
stage('Initialise AWS credentials'){
<... steps ...>
}
}
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment