Updated CI to use new serverside tooling
All checks were successful
islandsurvivalcraft/pipeline/head This commit looks good
All checks were successful
islandsurvivalcraft/pipeline/head This commit looks good
This commit is contained in:
parent
00d11f837e
commit
4605a1c5f9
21
Jenkinsfile
vendored
21
Jenkinsfile
vendored
@ -1,33 +1,32 @@
|
||||
pipeline {
|
||||
agent {
|
||||
kubernetes {
|
||||
cloud 'Reslate Systems'
|
||||
defaultContainer 'conda'
|
||||
cloud 'rsys-devel'
|
||||
defaultContainer 'maven'
|
||||
inheritFrom 'maven'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage ("Install") {
|
||||
stage ("validate") {
|
||||
steps {
|
||||
sh 'conda update conda -y -q'
|
||||
sh 'conda env update -n base --file environment.yml -q'
|
||||
sh "conda run -n base mvn validate"
|
||||
sh "mvn validate"
|
||||
}
|
||||
}
|
||||
stage ("Build") {
|
||||
stage ("compile") {
|
||||
steps {
|
||||
sh "conda run -n base mvn compile"
|
||||
sh "mvn compile"
|
||||
}
|
||||
}
|
||||
stage ("Test") {
|
||||
stage ("test") {
|
||||
steps {
|
||||
sh "conda run -n base mvn -Dmaven.test.skip=false test"
|
||||
sh "mvn -Dmaven.test.skip=false test"
|
||||
xunit checksName: '', tools: [JUnit(excludesPattern: '', pattern: 'target/surefire-reports/TEST-*.xml', stopProcessingIfError: true)]
|
||||
recordCoverage(tools: [[parser: 'JUNIT', pattern: 'target/surefire-reports/TEST-*.xml']])
|
||||
}
|
||||
}
|
||||
stage ("Package") {
|
||||
steps {
|
||||
sh "conda run -n base mvn package"
|
||||
sh "mvn package"
|
||||
archiveArtifacts artifacts: 'target/*.jar', fingerprint: true, followSymlinks: false
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user