commit | 37da131ab704a7678116490990bf9f6a51d220d8 | [log] [tgz] |
---|---|---|
author | Martin Polreich <polreichmartin@gmail.com> | Tue Apr 09 15:41:46 2019 +0200 |
committer | Martin Polreich <polreichmartin@gmail.com> | Tue Apr 09 15:41:53 2019 +0200 |
tree | 7907635529363eac7c5f3d38187b5511b9ffdf1b | |
parent | 4dedbcf3dfa17e19dbf7ad91f4558c74e1ce77b7 [diff] [blame] |
Check validity of input of GERRIT_PARENT_BRANCH Related: PROD-29251 Change-Id: I9619975741fcb9f45deeb5eaa640540acf0182d9
diff --git a/test-salt-formulas-env.groovy b/test-salt-formulas-env.groovy index 53309c4..de631bf 100644 --- a/test-salt-formulas-env.groovy +++ b/test-salt-formulas-env.groovy
@@ -23,7 +23,7 @@ } env.GERRIT_BRANCH = 'master' -if (env.GERRIT_PARENT_BRANCH) { +if (common.validInputParam('GERRIT_PARENT_BRANCH')) { env.GERRIT_BRANCH = GERRIT_PARENT_BRANCH }