thp/Jenkinsfile

22 lines
265 B
Plaintext
Raw Normal View History

2024-10-05 19:04:22 +00:00
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'
}
}
}
}