do it for both

This commit is contained in:
Telesphoreo 2022-03-26 17:37:58 -05:00
parent 94da9ff7fe
commit 222eec2eac
1 changed files with 1 additions and 1 deletions

View File

@ -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"
}