Add flake8 examination to Bottlenecks 33/33233/2
authoryuyang <Gabriel.yuyang@huawei.com>
Tue, 11 Apr 2017 07:26:30 +0000 (15:26 +0800)
committeryuyang <Gabriel.yuyang@huawei.com>
Tue, 11 Apr 2017 08:18:54 +0000 (16:18 +0800)
JIRA: RELENG-211

Add flake8 examination to CI pipeline for Bottlenecks.

Change-Id: I14d8bd4fe288d1dedb7c23dd158fc8c3765bf309
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
jjb/bottlenecks/bottlenecks-project-jobs.yml

index a0abb93..5dced2a 100644 (file)
@@ -70,8 +70,8 @@
                   - branch-compare-type: 'ANT'
                     branch-pattern: '**/{branch}'
     builders:
-        - bottlenecks-hello
-        #- bottlenecks-unit-tests
+        #- bottlenecks-hello
+        - bottlenecks-unit-tests
 
 - job-template:
     name: 'bottlenecks-merge-{stream}'
             # install python packages
             easy_install -U setuptools
             easy_install -U pip
-            pip install -r requirements.txt
+            pip install -r $WORKSPACE/requirements/verify.txt
 
             # unit tests
-            /bin/bash $WORKSPACE/tests.sh
+            /bin/bash $WORKSPACE/verify.sh
 
             deactivate
 
             #!/bin/bash
             set -o errexit
 
-            echo "hello"
+            echo -e "Wellcome to Bottlenecks! \nMerge event is planning to support more functions! "