Rename JenkinsFile to BuildFile to prevent jenkins building the forks

This commit is contained in:
modmuss50
2018-05-14 11:58:41 +01:00
parent 460dcbacde
commit 3050df55c7
2 changed files with 1 additions and 1 deletions

15
BuildFile Normal file
View File

@@ -0,0 +1,15 @@
node {
stage 'Checkout'
checkout scm
stage 'Build'
sh "rm -rf build/libs/"
sh "chmod +x gradlew"
sh "./gradlew build --refresh-dependencies"
stage "Archive artifacts"
sh "./gradlew publish"
}