More attempted fixes

This commit is contained in:
Adubbz 2019-05-04 17:27:07 +10:00
parent 51ff1cc235
commit 102c5e3453
2 changed files with 5 additions and 3 deletions

2
Jenkinsfile vendored
View File

@ -58,7 +58,7 @@ pipeline {
post { post {
always { always {
script { script {
archiveArtifacts artifacts: '${WORKSPACE}/build/libs/**/*.*', fingerprint: true, onlyIfSuccessful: true, allowEmptyArchive: true archiveArtifacts artifacts: 'build/libs/**/*.*', fingerprint: true, onlyIfSuccessful: true, allowEmptyArchive: true
} }
} }
} }

View File

@ -31,7 +31,7 @@ def getGitHash = {
return stdout.toString().trim() return stdout.toString().trim()
} }
version = "${minecraft_version}-${mod_version}.${getGitHash()}" version = "${minecraft_version}-${mod_version}.${System.getenv().BUILD_NUMBER}"
minecraft { minecraft {
mappings channel: 'snapshot', version: mappings_version mappings channel: 'snapshot', version: mappings_version
@ -99,7 +99,9 @@ def changelog = rootProject.file('build/changelog.txt')
artifacts { artifacts {
if (changelog.exists()) { if (changelog.exists()) {
archives changelog archives changelog {
classifier = 'changelog'
}
} }
archives sourcesJar archives sourcesJar
archives deobfJar archives deobfJar