Fix version number not having MC prefix, and build artifacts.
This commit is contained in:
parent
506d5b18de
commit
7f9acac469
2 changed files with 2 additions and 2 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue