mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 11:53:29 +01:00
cleaned up the pipeline a bit, this will still break since I'm not using oracle JDK I think
This commit is contained in:
parent
e22a5d3548
commit
2b1868f7f1
1 changed files with 12 additions and 3 deletions
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
|
@ -1,12 +1,21 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
|
stage('Clean') {
|
||||||
|
steps {
|
||||||
|
sh './gradlew clean --no-daemon'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
withGradle() {
|
sh './gradlew build --no-daemon'
|
||||||
sh './gradlew clean build'
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Upload Artifacts') {
|
||||||
|
steps {
|
||||||
|
archiveArtifacts 'build/libs/**.jar'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue