summaryrefslogtreecommitdiffstats
path: root/tests/yamlparser/fixtures/github_cancel_builds_on_update_variable001.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/yamlparser/fixtures/github_cancel_builds_on_update_variable001.yaml')
-rw-r--r--tests/yamlparser/fixtures/github_cancel_builds_on_update_variable001.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/yamlparser/fixtures/github_cancel_builds_on_update_variable001.yaml b/tests/yamlparser/fixtures/github_cancel_builds_on_update_variable001.yaml
new file mode 100644
index 00000000..a3245c2c
--- /dev/null
+++ b/tests/yamlparser/fixtures/github_cancel_builds_on_update_variable001.yaml
@@ -0,0 +1,12 @@
+---
+- 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'