updated jenkinsfile etc
All checks were successful
gitea-lenape/links.jacquesingram.online/pipeline/head This commit looks good

This commit is contained in:
Linux Lenape
2025-05-22 21:13:16 -04:00
parent a6d7a7acb7
commit 8baaf188c8
4 changed files with 122 additions and 0 deletions

75
Jenkinsfile vendored Executable file
View File

@@ -0,0 +1,75 @@
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'
}
}
}
}}