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
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
|
@ -1,12 +1,21 @@
|
|||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Clean') {
|
||||
steps {
|
||||
sh './gradlew clean --no-daemon'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
withGradle() {
|
||||
sh './gradlew clean build'
|
||||
sh './gradlew build --no-daemon'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Upload Artifacts') {
|
||||
steps {
|
||||
archiveArtifacts 'build/libs/**.jar'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue