Add parameter to do nested copies

This commit is contained in:
Dan Hawkins 2020-04-24 15:08:19 +01:00
commit 84eb2c5af8

View file

@ -32,7 +32,7 @@ pipeline {
SOURCE_ARTIFACT_RELEASE_REPO,
SOURCE_ARTIFACT_RELEASE_REVISION)
echo "Nested: ${NESTED_COPY}"
copyoptions.setnested((NESTED_COPY == 'True' ? true : false))
copyoptions.setnested(NESTED_COPY == 'true')
importer.artifactimport(meta, copyoptions, IMPORTS)
}
}