mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 17:17:37 +00:00
do it for both
This commit is contained in:
parent
94da9ff7fe
commit
222eec2eac
@ -89,7 +89,7 @@ static def getDate() {
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user