This commit is contained in:
parent
84d9fa2ccd
commit
e8ddaeca81
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -7,20 +7,11 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
sh './gradlew build javadoc'
|
sh './gradlew build'
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
archiveArtifacts artifacts: 'build/libs/*', fingerprint: true
|
archiveArtifacts artifacts: 'build/libs/*', fingerprint: true
|
||||||
|
|
||||||
publishHTML target: [
|
|
||||||
allowMissing: false,
|
|
||||||
alwaysLinkToLastBuild: false,
|
|
||||||
keepAll: false,
|
|
||||||
reportDir: 'build/docs/javadoc',
|
|
||||||
reportFiles: 'index.html',
|
|
||||||
reportName: 'JavaDoc'
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -32,9 +23,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh './gradlew publish'
|
sh './gradlew publish'
|
||||||
withCredentials([string(credentialsId: 'curseforge_key', variable: 'CURSEFORGE_KEY')]) {
|
|
||||||
sh './gradlew -Pcurseforge.api_key="${CURSEFORGE_KEY}" curseforge'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user