Add cargo test only Jenkins pipeline
Gitea/target_test_project/pipeline/head This commit looks good
Details
Gitea/target_test_project/pipeline/head This commit looks good
Details
This commit is contained in:
parent
6dc28828cc
commit
627a2efe3e
|
|
@ -0,0 +1,21 @@
|
|||
pipeline {
|
||||
agent { label 'rust_no_docker' }
|
||||
|
||||
environment {
|
||||
CARGO_TERM_COLOR = 'never'
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
checkout scm
|
||||
}
|
||||
}
|
||||
|
||||
stage('Cargo Tests') {
|
||||
steps {
|
||||
sh 'cargo test --offline'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue