13
0
geforkt von Mirrors/Velocity

Never launch the Gradle daemon

Since we are using separate containers for each pipeline stage, the
daemons get nicked once the stage is done. Why bother having them?
Dieser Commit ist enthalten in:
Andrew Steinborn 2018-09-21 12:49:02 -04:00
Ursprung b894dfbdd4
Commit 1e04d27bb7

4
Jenkinsfile vendored
Datei anzeigen

@ -9,7 +9,7 @@ pipeline {
}
}
steps {
sh './gradlew build'
sh './gradlew build --no-daemon'
archiveArtifacts 'proxy/build/libs/*-all.jar,api/build/libs/*-all.jar'
}
}
@ -27,7 +27,7 @@ pipeline {
}
}
steps {
sh 'export MAVEN_DEPLOYMENT=true; ./gradlew publish'
sh 'export MAVEN_DEPLOYMENT=true; ./gradlew publish --no-daemon'
sh 'rsync -av --delete ./api/build/docs/javadoc/ /javadoc'
}
}