mirror of https://github.com/FabricMC/yarn.git
Decrease build time by not building twice
This commit is contained in:
parent
4954f79f69
commit
44a5868fae
|
@ -7,11 +7,7 @@ node {
|
||||||
|
|
||||||
sh "rm -rf build/libs/"
|
sh "rm -rf build/libs/"
|
||||||
sh "chmod +x gradlew"
|
sh "chmod +x gradlew"
|
||||||
sh "./gradlew build --refresh-dependencies"
|
sh "./gradlew build publish --refresh-dependencies"
|
||||||
|
|
||||||
stage 'Publish'
|
|
||||||
|
|
||||||
sh "./gradlew publish"
|
|
||||||
|
|
||||||
stage "Archive artifacts"
|
stage "Archive artifacts"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue