Files
lenape-jobs-fetcher/Jenkinsfile

76 lines
1.1 KiB
Plaintext
Raw Normal View History

2025-04-30 07:38:19 -04:00
pipeline {
agent none
options {
disableConcurrentBuilds(abortPrevious: true)
buildDiscarder(logRotator(numToKeepStr: '1'))
}
stages {
stage('docker compose build') {
agent {
2025-05-08 01:27:11 +00:00
label "xochi"
2025-04-30 07:38:19 -04:00
}
steps {
dir('.') {
sh 'docker compose build'
}
}
}
stage('docker compose push') {
agent {
2025-05-08 01:27:11 +00:00
label "xochi"
2025-04-30 07:38:19 -04:00
}
steps {
dir('.') {
sh 'docker compose push'
}
}
}
stage('prune') {
agent {
2025-05-08 01:27:11 +00:00
label "xochi"
2025-04-30 07:38:19 -04:00
}
steps {
dir('.') {
sh 'docker system prune -a -f'
}
}
}
}}