thp/Jenkinsfile
2024-10-05 14:05:03 -05:00

22 lines
265 B
Groovy

pipeline {
agent {
docker {
reuseNode true
image 'rust:1.81'
}
}
stages {
stage('Build release binary') {
steps {
sh 'cargo build --release'
}
}
stage('Move binary') {
steps {
sh 'mv ./target/release/thp /var/bin'
}
}
}
}