Jenkins CI #2

Merged
cameron merged 14 commits from feature/jenkins-ci into master 2021-02-02 21:24:14 +00:00
Showing only changes of commit 505cd2f2e3 - Show all commits

4
Jenkinsfile vendored
View File

@@ -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
} }