adding build and test to jenkins

This commit is contained in:
Andy Pack 2024-02-01 21:18:21 +00:00
parent 5c097d5b2c
commit 7bc5767208
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

View File

@ -2,6 +2,18 @@ pipeline {
agent any
stages {
stage('Build') {
steps {
sh 'cargo build'
}
}
stage('Test') {
steps {
sh 'cargo test'
}
}
stage('Deploy') {
when { branch 'master' }
steps {