fix yamllint verify fail 87/45187/3
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Mon, 16 Oct 2017 07:44:00 +0000 (15:44 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Mon, 16 Oct 2017 08:12:26 +0000 (16:12 +0800)
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>
jjb-sandbox/releng/releng-sandbox-jobs.yml
utils/test/reporting/reporting/reporting.yaml
utils/test/testapi/3rd_party/static/testapi-ui/assets/lib/angular-confirm-modal/.travis.yml
utils/test/testapi/3rd_party/static/testapi-ui/assets/lib/bootstrap/grunt/sauce_browsers.yml

index f5aab1a..df8b1d5 100644 (file)
@@ -1,7 +1,8 @@
+---
 - project:
     name: 'releng-sandbox-jobs'
     jobs:
-        - 'releng-deploy-sandbox'
+      - 'releng-deploy-sandbox'
 
     project: 'releng'
     node: 'releng-sandbox'
     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
index 2a4aa49..1e2e9a4 100644 (file)
@@ -42,8 +42,10 @@ functest:
     test_conf: https://git.opnfv.org/cgit/functest/plain/functest/ci/testcases.yaml
     log_level: ERROR
     jenkins_url: https://build.opnfv.org/ci/view/functest/job/
+    # yamllint disable rule:truthy
     exclude_noha: False
     exclude_virtual: False
+    # yamllint enable
 
 yardstick:
     test_conf: https://git.opnfv.org/cgit/yardstick/plain/tests/ci/report_config.yaml
index 3674c3c..f7913ea 100644 (file)
@@ -1,3 +1,4 @@
+---
 language: node_js
 node_js:
   - "0.12"
@@ -8,4 +9,4 @@ before_script:
 before_install:
   - export CHROME_BIN=chromium-browser
   - export DISPLAY=:99.0
-  - sh -e /etc/init.d/xvfb start
\ No newline at end of file
+  - sh -e /etc/init.d/xvfb start