automated terminal push

This commit is contained in:
Software Shinobi
2025-04-30 07:38:19 -04:00
parent 58015ad4e9
commit 37a57278dd
25 changed files with 822 additions and 7 deletions

75
Jenkinsfile vendored Normal 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 "aventador"
}
steps {
dir('.') {
sh 'docker compose build'
}
}
}
stage('docker compose push') {
agent {
label "aventador"
}
steps {
dir('.') {
sh 'docker compose push'
}
}
}
stage('prune') {
agent {
label "aventador"
}
steps {
dir('.') {
sh 'docker system prune -a -f'
}
}
}
}}