27 lines
619 B
Plaintext
27 lines
619 B
Plaintext
|
pipeline {
|
||
|
agent any
|
||
|
stages {
|
||
|
stage ("Install") {
|
||
|
steps {
|
||
|
sh 'mamba env update --file environment.yml'
|
||
|
sh 'echo "mamba activate islandsurvivalcraft" >> ~/.bashrc'
|
||
|
sh "mvn validate"
|
||
|
}
|
||
|
}
|
||
|
stage ("Build") {
|
||
|
steps {
|
||
|
sh "mvn compile"
|
||
|
}
|
||
|
}
|
||
|
stage ("Test") {
|
||
|
steps {
|
||
|
sh "mvn -Dmaven.test.skip=false test"
|
||
|
}
|
||
|
}
|
||
|
stage ("Package") {
|
||
|
steps {
|
||
|
sh "mvn package"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|