Added Jenkinsfile and updated package naming.

This commit is contained in:
2022-12-04 05:09:04 +00:00
parent 1702fe7472
commit 21ce300b08
69 changed files with 246 additions and 201 deletions

27
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,27 @@
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"
}
}
}
}