opps
This commit is contained in:
parent
6c20fa69bf
commit
f6e632f9d6
1 changed files with 23 additions and 0 deletions
23
Jenkinsfile
vendored
Normal file
23
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue