summaryrefslogtreecommitdiffstats
path: root/jjb-sandbox/releng/releng-sandbox-jobs.yml
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-10-16 15:44:00 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2017-10-16 16:12:26 +0800
commite1d4351f54b649ee9ad94d5b72934362c8a31413 (patch)
tree453d099945c462fd5d7523120a53966aa8c70b8a /jjb-sandbox/releng/releng-sandbox-jobs.yml
parente010bb53fed22792a1c025f628623a22cf7e005b (diff)
fix yamllint verify fail
fail record: https://build.opnfv.org/ci/job/opnfv-yamllint-verify-master/1050/console Change-Id: Ic709b9a3d1d3642a3deebd930714a2ba2de22da6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'jjb-sandbox/releng/releng-sandbox-jobs.yml')
-rw-r--r--jjb-sandbox/releng/releng-sandbox-jobs.yml80
1 files changed, 41 insertions, 39 deletions
diff --git a/jjb-sandbox/releng/releng-sandbox-jobs.yml b/jjb-sandbox/releng/releng-sandbox-jobs.yml
index f5aab1ac2..df8b1d56a 100644
--- a/jjb-sandbox/releng/releng-sandbox-jobs.yml
+++ b/jjb-sandbox/releng/releng-sandbox-jobs.yml
@@ -1,7 +1,8 @@
+---
- project:
name: 'releng-sandbox-jobs'
jobs:
- - 'releng-deploy-sandbox'
+ - 'releng-deploy-sandbox'
project: 'releng'
node: 'releng-sandbox'
@@ -11,49 +12,50 @@
node: '{node}'
parameters:
- - project-parameter:
- project: '{project}'
- branch: 'master'
+ - project-parameter:
+ project: '{project}'
+ branch: 'master'
scm:
- - git-scm-gerrit
+ - git-scm-gerrit
triggers:
- - gerrit:
- trigger-on:
- - patchset-created-event:
- exclude-drafts: 'false'
- exclude-trivial-rebase: 'false'
- exclude-no-code-change: 'false'
- - draft-published-event
- - comment-added-contains-event:
- comment-contains-value: 'redeploy'
- custom-url: '$BUILD_URL deploying to $JENKINS_URL'
- silent-start: true
- skip-vote:
- successful: true
- failed: true
- unstable: true
- notbuilt: true
- projects:
- - project-compare-type: 'ANT'
- project-pattern: 'releng'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/master'
- file-paths:
- - compare-type: ANT
- pattern: jjb-sandbox/**
+ - gerrit:
+ trigger-on:
+ - patchset-created-event:
+ exclude-drafts: 'false'
+ exclude-trivial-rebase: 'false'
+ exclude-no-code-change: 'false'
+ - draft-published-event
+ - comment-added-contains-event:
+ comment-contains-value: 'redeploy'
+ custom-url: '$BUILD_URL deploying to $JENKINS_URL'
+ silent-start: true
+ skip-vote:
+ successful: true
+ failed: true
+ unstable: true
+ notbuilt: true
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: 'releng'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/master'
+ file-paths:
+ - compare-type: ANT
+ pattern: jjb-sandbox/**
wrappers: ''
builders:
- - shell:
- !include-raw-escape: verify-sandbox-jobs.sh
- - shell: |
- #!/bin/bash
- jenkins-jobs update --delete-old -r jjb/releng-defaults.yaml:jjb/releng-macros.yaml:jjb/opnfv/installer-params.yml:jjb/opnfv/slave-params.yml:jjb-sandbox
-
+ - shell:
+ !include-raw-escape: verify-sandbox-jobs.sh
+ # yamllint disable rule:line-length
+ - shell: |
+ #!/bin/bash
+ jenkins-jobs update --delete-old -r jjb/releng-defaults.yaml:jjb/releng-macros.yaml:jjb/opnfv/installer-params.yml:jjb/opnfv/slave-params.yml:jjb-sandbox
+ # yamllint enable
publishers:
- - archive-artifacts:
- artifacts: 'job_output/*'
- - email-jenkins-admins-on-failure
+ - archive-artifacts:
+ artifacts: 'job_output/*'
+ - email-jenkins-admins-on-failure