TechReborn/Jenkinsfile
modmuss50 f6e632f9d6 opps
2020-06-18 16:32:39 +01:00

23 lines
466 B
Groovy

pipeline {
agent any
stages {
stage('Init') {
steps {
sh "rm -rf build/libs/"
sh "chmod +x gradlew"
}
}
stage ('Build') {
when {
branch '1.16'
}
steps {
sh "./gradlew clean build publish curseTools --refresh-dependencies --stacktrace"
archiveArtifacts artifacts: '**/build/libs/*.jar', fingerprint: true
}
}
}
}