You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
840 B
55 lines
840 B
pipeline { |
|
|
|
agent none |
|
|
|
options { |
|
|
|
disableConcurrentBuilds(abortPrevious: true) |
|
|
|
buildDiscarder(logRotator(numToKeepStr: '1')) |
|
} |
|
|
|
stages { |
|
|
|
|
|
stage('docker compose build') { |
|
|
|
agent { |
|
|
|
label "xochi" |
|
|
|
} |
|
|
|
steps { |
|
|
|
dir('.') { |
|
|
|
sh 'docker compose build' |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
stage('docker compose push') { |
|
|
|
agent { |
|
|
|
label "xochi" |
|
|
|
} |
|
|
|
steps { |
|
|
|
dir('.') { |
|
|
|
sh 'docker compose push' |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}}
|
|
|