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 { post {
always { always {
archiveArtifacts artifacts: 'build/libs/**/*.jar', fingerprint: true archiveArtifacts artifacts: 'projects/forge/build/libs/**/*.jar', fingerprint: true
//junit 'build/test-results/*/*.xml' //junit 'build/test-results/*/*.xml'
//jacoco sourcePattern: '**/src/*/java' //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 if (branch != null && branch.endsWith('.x') && MC_VERSION.startsWith(branch.substring(0, branch.length() - 2))) //1.13.x
branch = null branch = null
SPEC_VERSION = tag 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 group = 'net.minecraftforge.test' //TODO: remove when we jenkins is working