Fix Jenkinsfile
FreshCoffee/pipeline/head This commit looks good Details

This commit is contained in:
TheBrokenRail 2020-08-22 22:23:17 -04:00
parent 84d9fa2ccd
commit e8ddaeca81
1 changed files with 1 additions and 13 deletions

14
Jenkinsfile vendored
View File

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