file-paths:
- compare-type: ANT
pattern: '{files}'
+ forbidden-file-paths:
+ - compare-type: ANT
+ pattern: '{forbidden-files}'
# TODO: Unify argument names across gerrit-trigger-* macros.
- trigger:
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
+ file-paths:
+ - compare-type: ANT
+ pattern: '{files}'
+ forbidden-file-paths:
+ - compare-type: ANT
+ pattern: '{forbidden-files}'
skip-vote:
successful: true
failed: true
gerrit-build-unstable-codereview-value: 0
gerrit-build-notbuilt-codereview-value: 0
-# TODO: Unify argument names across gerrit-trigger-* macros.
-- trigger:
- name: gerrit-trigger-patch-sonar
- triggers:
- - gerrit:
- server-name: '{gerrit-server-name}'
- trigger-on:
- - comment-added-contains-event:
- comment-contains-value: 'run-sonar'
- projects:
- - project-compare-type: 'ANT'
- project-pattern: '{name}'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/master'
- skip-vote:
- successful: true
- failed: true
- unstable: true
- notbuilt: true
-
- publisher:
name: email-notification
publishers:
- shell: !include-raw: opendaylight-infra-stack.sh
- shell: !include-raw-escape: opendaylight-infra-copy-ssh-keys.sh
+- builder:
+ name: opendaylight-apex-stack
+ # opendaylight-apex-stack.sh has a required variable {stack-template} that
+ # must be passed into this macro.
+ builders:
+ - shell: !include-raw: opendaylight-infra-stack.sh
+
- builder:
name: distribute-build-url
# Place URL of the current run of a build job to a file at given path.
- UNSTABLE
build-steps:
- shell: |
- #!/bin/bash
+ #!/bin/bash -l
echo "Deleting $STACK_NAME"
- source "/tmp/v/openstack/bin/activate"
openstack stack delete --yes "$STACK_NAME"
mark-unstable-if-failed: false