More attempted fixes
This commit is contained in:
parent
51ff1cc235
commit
102c5e3453
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue