Update Jenkinsfile.groovy
This commit is contained in:
parent
29b292067b
commit
afa84d21e7
@ -5,7 +5,8 @@ pipeline {
|
|||||||
stage('Build backend') {
|
stage('Build backend') {
|
||||||
steps {
|
steps {
|
||||||
sh "whoami"
|
sh "whoami"
|
||||||
sh "source /var/lib/jenkins/.cargo/env"
|
sh "echo $PATH"
|
||||||
|
sh "which cargo"
|
||||||
sh "cd ${env.WORKSPACE}/backend"
|
sh "cd ${env.WORKSPACE}/backend"
|
||||||
sh "cargo build --release"
|
sh "cargo build --release"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user