mirror of
https://github.com/plexusorg/Plex.git
synced 2025-02-11 19:50:42 +00:00
do it for both
This commit is contained in:
parent
94da9ff7fe
commit
222eec2eac
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ static def getDate() {
|
||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
buildNumber = System.getenv("BUILD_NUMBER") + " (Jenkins)" ?: getBuildNumber()
|
buildAuthor = System.getenv("BUILD_NUMBER") != null ? System.getenv("BUILD_NUMBER") : getGitHash()
|
||||||
buildAuthor = System.getenv("JENKINS_URL") != null ? "jenkins" : "unknown"
|
buildAuthor = System.getenv("JENKINS_URL") != null ? "jenkins" : "unknown"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue