Add filtered publishing
This commit is contained in:
parent
6a334f56f1
commit
e328e823e4
1 changed files with 2 additions and 2 deletions
|
|
@ -42,11 +42,11 @@ def summaryappend(String summary) {
|
|||
}
|
||||
|
||||
def guessreporoot(componentURL) {
|
||||
if (!env.REPOROOT || env.REPOROOT.size() == 0) {
|
||||
if (!env.REPO_ROOT || env.REPO_ROOT.size() == 0) {
|
||||
return ''
|
||||
}
|
||||
def guess = componentURL.replaceFirst(/.*\/(.*).git/, '$1')
|
||||
def reporoot = "${REPOROOT}/${guess}"
|
||||
def reporoot = "${REPO_ROOT}/${guess}"
|
||||
echo "Guessing reporoot is: ${reporoot}"
|
||||
return reporoot
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue