3806c9c3d7
The code assumes that the value of cancel-builds-on-update is a boolean. This fails when specifying the value of the param in a variable because when deep_formatter formats the data, booleans turn into strings. Also added tests for such case. Change-Id: Ib1ec3d5545091be550bfe023e49c7982372d5b55 Signed-off-by: Daniel Belenky <daniel.belenky@gmail.com>
13 lines
272 B
YAML
13 lines
272 B
YAML
---
|
|
- job-template:
|
|
name: 'github-pull-request-variable-test-true'
|
|
triggers:
|
|
- github-pull-request:
|
|
cancel-builds-on-update: '{test-var}'
|
|
|
|
- project:
|
|
name: test-true
|
|
test-var: true
|
|
jobs:
|
|
- 'github-pull-request-variable-test-true'
|