commit | eb15f0b538829a92e1ad1ecc9d5c1898aba21aac | [log] [tgz] |
---|---|---|
author | Jakub Josef <jakub.josef@gmail.com> | Thu Aug 03 18:22:06 2017 +0200 |
committer | Jakub Josef <jakub.josef@gmail.com> | Thu Aug 03 18:22:06 2017 +0200 |
tree | 40cebc3dc381bc7acc531f6db38c99b3fd1ff224 | |
parent | 10d019e4db3eb2cc97614a204c5894dc4eb5fded [diff] [blame] |
Refactored pipelines to use library method for testing input params Change-Id: Iaae514c0a960fef43d753712be20aec06086f39b
diff --git a/cleanup-pipeline.groovy b/cleanup-pipeline.groovy index 282b041..cf6252e 100644 --- a/cleanup-pipeline.groovy +++ b/cleanup-pipeline.groovy
@@ -33,7 +33,7 @@ def env_vars // default STACK_TYPE is heat - if (!env.getEnvironment().containsKey("STACK_TYPE") || STACK_TYPE == '') { + if (!common.validInputParam(STACK_TYPE)) { STACK_TYPE = 'heat' }