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.
56 lines
840 B
56 lines
840 B
3 months ago
|
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'
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
}}
|