Don't release a component if it is not available in the build job's artifacts

This commit is contained in:
Dan Hawkins 2019-07-19 13:51:29 +01:00
commit 32952f0677

View file

@ -117,7 +117,8 @@ def boolean getcomponentartifacts(toplevelbuildmeta, buildinfo, String repofolde
echo "Exception occurred while copying artifacts from ${toplevelbuildmeta.jenkinsbuildinfo.buildjobname}: ${e.getMessage()}"
exceptionduringcopyartifacts = true
summaryappend("Does not exist: ${artifactfilter},"
} else {
}
if (!exceptionduringcopyartifacts) {
// Move relevant artifacts from temp folder to release position
def originalrootdir = tempfolder + "/" + buildinfo.offsetpath
dir(originalrootdir) {