TechReborn/Jenkinsfile

24 lines
443 B
Text
Raw Normal View History

2020-06-18 17:32:39 +02:00
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 --stacktrace"
2020-06-18 17:32:39 +02:00
archiveArtifacts artifacts: '**/build/libs/*.jar', fingerprint: true
}
}
}
}