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 5f1bf58f35 - Show all commits

8
Jenkinsfile vendored
View File

@@ -11,15 +11,19 @@ pipeline {
steps {
sh 'echo $PWD'
sh 'cargo build --release'
archiveArtifacts artifacts: '**/target/release/**', fingerprint: true
archiveArtifacts artifacts: '**/target/release/image-api' fingerprint: true
}
}
stage('test') {
steps {
sh 'echo "BASE_PATH=$PWD" > .env'
sh 'cargo test'
}
post {
sh 'rm -f .env'
}
}
}
}