Files
lenape-jobs-fetcher/Jenkinsfile
2025-05-08 01:27:11 +00:00

76 lines
1.1 KiB
Groovy

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'
}
}
}
stage('prune') {
agent {
label "xochi"
}
steps {
dir('.') {
sh 'docker system prune -a -f'
}
}
}
}}