htmxui/Jenkinsfile
2024-10-18 20:49:16 -05:00

22 lines
296 B
Groovy

pipeline {
agent {
docker {
reuseNode true
image 'rust:1-alpine'
}
}
stages {
stage('Build release binary') {
steps {
sh 'cargo build --release'
}
}
stage('Profit') {
steps {
sh 'docker-compose down || true'
sh 'docker-compose up -d --build'
}
}
}
}