just using cargo in jenkins commands

This commit is contained in:
Andy Pack 2024-02-01 21:15:37 +00:00
parent 1f7476add3
commit fcca086685
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

View File

@ -4,13 +4,13 @@ pipeline {
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
sh 'source ~/.cargo/env && cargo build' sh 'cargo build'
} }
} }
stage('Test') { stage('Test') {
steps { steps {
sh 'source ~/.cargo/env && cargo test' sh 'cargo test'
} }
} }
} }