Skip to content

Commit

Permalink
Fix build names and remove the jenkins prefix for the build number
Browse files Browse the repository at this point in the history
Reasoning being because it's not properly supported by all the tools, and we don't really need it anyway since the build number is still there
  • Loading branch information
bonii-xx committed Oct 6, 2016
1 parent ad6a447 commit 92d60d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ task buildInfo {
}

if (System.getenv().BUILD_NUMBER != null) {
ext.buildNum = "jenkins${System.getenv().BUILD_NUMBER}"
ext.buildNum = "${System.getenv().BUILD_NUMBER}"
} else {
ext.buildNum = "DEV.${project.buildInfo.revision}"
}
}
ext.artifact_version = 'NFG'
if (System.getenv().ARTIFACT_VERSION == null) {
artifact_version = "${config.mod_version}"
artifact_version = "${config.mod_version}.${project.buildInfo.buildNum}"
}
if (System.getenv().ARTIFACT_VERSION != null) {
artifact_version = "${system.getenv().ARTIFACT_VERSION}"
Expand Down

0 comments on commit 92d60d9

Please sign in to comment.