This commit is contained in:
parent
84d9fa2ccd
commit
e8ddaeca81
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -7,20 +7,11 @@ pipeline {
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh './gradlew build javadoc'
|
||||
sh './gradlew build'
|
||||
}
|
||||
post {
|
||||
success {
|
||||
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 {
|
||||
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