feat: Add jenkinsfile

This commit is contained in:
Araozu 2024-10-05 14:04:22 -05:00
parent 6bfe840314
commit 2a2da32245

21
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,21 @@
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'
}
}
}
}