TechReborn/Jenkinsfile
2020-01-04 22:44:24 +00: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.15'
}
steps {
sh "./gradlew clean build publish curseTools --refresh-dependencies --stacktrace"
archiveArtifacts artifacts: '**/build/libs/*.jar', fingerprint: true
}
}
}
}