Update Jenkinsfile

This commit is contained in:
Till Wegmüller 2023-03-25 11:56:19 +01:00 committed by GitHub
parent 28b0236dd7
commit 1e08d5ad2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

10
Jenkinsfile vendored
View file

@ -18,7 +18,7 @@ pipeline {
sh ''' sh '''
source $HOME/.profile source $HOME/.profile
cargo version cargo version
gmake cargo build
''' '''
} }
} }
@ -27,15 +27,9 @@ pipeline {
sh ''' sh '''
source $HOME/.profile source $HOME/.profile
cargo version cargo version
gmake test cargo test
''' '''
} }
} }
stage('Release') {
when { tag "v*" }
steps {
archiveArtifacts artifacts: 'artifacts/**', fingerprint: true
}
}
} }
} }