Fix version number not having MC prefix, and build artifacts.

This commit is contained in:
LexManos 2018-11-13 16:49:03 -08:00
parent 506d5b18de
commit 7f9acac469
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -61,7 +61,7 @@ pipeline {
}
post {
always {
archiveArtifacts artifacts: 'build/libs/**/*.jar', fingerprint: true
archiveArtifacts artifacts: 'projects/forge/build/libs/**/*.jar', fingerprint: true
//junit 'build/test-results/*/*.xml'
//jacoco sourcePattern: '**/src/*/java'
}

View File

@ -145,7 +145,7 @@ project(':forge') {
if (branch != null && branch.endsWith('.x') && MC_VERSION.startsWith(branch.substring(0, branch.length() - 2))) //1.13.x
branch = null
SPEC_VERSION = tag
return "${tag}.${offset}${t -> if (branch != null) t << '-' + branch}"
return "${MC_VERSION}-${tag}.${offset}${t -> if (branch != null) t << '-' + branch}"
}
group = 'net.minecraftforge.test' //TODO: remove when we jenkins is working