jobs/updateSrcRev: removed ./ from archiving artifact

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmüller 2023-09-11 11:32:29 +02:00
parent 05a5786bb3
commit b93c05ff47
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ def commitAndPushTheChanges(commonHelpers, repoDir, origBranch) {
def commitMsg = "srcrev: updated source revisions by Jenkins Job" def commitMsg = "srcrev: updated source revisions by Jenkins Job"
def nightlyBranch = "nightly" def nightlyBranch = "nightly"
def usedBranch = "${origBranch}" def usedBranch = "${origBranch}"
def branchFile = "./${env.NIGHTLY_BRANCH_FILE}" def branchFile = "${env.NIGHTLY_BRANCH_FILE}"
dir(repoDir) { dir(repoDir) {
if(sh(returnStdout: true, script: "git status | grep \"modified:\" | wc -l").toInteger() != 0) { if(sh(returnStdout: true, script: "git status | grep \"modified:\" | wc -l").toInteger() != 0) {