Fix the actual error..
Some checks failed
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit
Some checks failed
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -2,14 +2,14 @@ pipeline {
|
|||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'rust:1.48'
|
image 'rust:1.48'
|
||||||
args '-v ${PWD}:/usr/src/image-api'
|
args '-v "$PWD":/usr/src/image-api'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('build') {
|
stage('build') {
|
||||||
steps {
|
steps {
|
||||||
echo $PWD
|
sh 'echo $PWD'
|
||||||
sh 'cargo build --release'
|
sh 'cargo build --release'
|
||||||
archiveArtifacts artifacts: '**/target/release/**', fingerprint: true
|
archiveArtifacts artifacts: '**/target/release/**', fingerprint: true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user