More attempted fixes
This commit is contained in:
parent
51ff1cc235
commit
102c5e3453
2 changed files with 5 additions and 3 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue