Add filtered publishing

This commit is contained in:
Dan Hawkins 2019-03-19 08:47:47 +00:00
commit e328e823e4

View file

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