Fix Jenkinsfile
All checks were successful
FreshCoffee/pipeline/head This commit looks good

This commit is contained in:
TheBrokenRail 2020-08-22 22:23:17 -04:00
parent 84d9fa2ccd
commit e8ddaeca81

14
Jenkinsfile vendored
View File

@ -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'
}
} }
} }
} }