just using cargo in jenkins commands
This commit is contained in:
parent
1f7476add3
commit
fcca086685
@ -4,13 +4,13 @@ pipeline {
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'source ~/.cargo/env && cargo build'
|
||||
sh 'cargo build'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh 'source ~/.cargo/env && cargo test'
|
||||
sh 'cargo test'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user