Merge "Add call to run shellcheck"
authorRyota Mibu <r-mibu@cq.jp.nec.com>
Mon, 13 Feb 2017 09:02:56 +0000 (09:02 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Mon, 13 Feb 2017 09:02:56 +0000 (09:02 +0000)
1  2 
jjb/copper/copper.yml

diff --combined jjb/copper/copper.yml
@@@ -15,7 -15,7 +15,7 @@@
              branch: '{stream}'
              gs-pathname: ''
              disabled: false
 -        - colorado:
 +        - danube:
              branch: 'stable/{stream}'
              gs-pathname: '/{stream}'
              disabled: false
      parameters:
          - project-parameter:
              project: '{project}'
 -        - gerrit-parameter:
              branch: '{branch}'
          - 'opnfv-build-ubuntu-defaults'
  
      scm:
 -        - gerrit-trigger-scm:
 -            credentials-id: '{ssh-credentials}'
 -            refspec: '$GERRIT_REFSPEC'
 -            choosing-strategy: 'gerrit'
 +        - git-scm-gerrit
  
      triggers:
          - gerrit:
  
      builders:
          - shell: |
-             echo "Nothing to verify!"
+             #!/bin/bash
+             set -o errexit
+             set -o nounset
+             set -o pipefail
+             cd $WORKSPACE/ci
+             shellcheck -f tty tests/*.sh