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 {
always {
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()
}
version = "${minecraft_version}-${mod_version}.${getGitHash()}"
version = "${minecraft_version}-${mod_version}.${System.getenv().BUILD_NUMBER}"
minecraft {
mappings channel: 'snapshot', version: mappings_version
@ -99,7 +99,9 @@ def changelog = rootProject.file('build/changelog.txt')
artifacts {
if (changelog.exists()) {
archives changelog
archives changelog {
classifier = 'changelog'
}
}
archives sourcesJar
archives deobfJar