htmxui/Jenkinsfile

23 lines
321 B
Groovy

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