diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..6c76540 --- /dev/null +++ b/Jenkinsfile @@ -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' + } + } + } +} +