fix(build): try to move cargo home to ws
This commit is contained in:
1 file changed
+4
-3
Vendored
+4
-3
@@ -21,7 +21,7 @@ pipeline {
|
|||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
cargo build \
|
env CARGO_HOME="$(pwd)/.cargo" cargo build \
|
||||||
--release
|
--release
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
@@ -29,10 +29,11 @@ pipeline {
|
|||||||
|
|
||||||
stage('Archive artifact') {
|
stage('Archive artifact') {
|
||||||
steps {
|
steps {
|
||||||
dir("target/${TARGET}/release") {
|
sh 'echo TODO'
|
||||||
|
/*dir("target/${TARGET}/release") {
|
||||||
sh "cp -v sqm-autorate-rust sqm-autorate-rust-${TARGET}"
|
sh "cp -v sqm-autorate-rust sqm-autorate-rust-${TARGET}"
|
||||||
archiveArtifacts artifacts: "sqm-autorate-rust-${TARGET}", fingerprint: true, onlyIfSuccessful: true
|
archiveArtifacts artifacts: "sqm-autorate-rust-${TARGET}", fingerprint: true, onlyIfSuccessful: true
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user