1 ###################################################
2 # All the jobs except verify have been removed!
3 # They will only be enabled on request by projects!
4 ###################################################
6 name: yardstick-project-jobs
11 - 'yardstick-verify-{stream}'
12 - 'yardstick-merge-{stream}'
19 branch: 'stable/{stream}'
20 gs-pathname: '/{stream}'
22 ################################
24 ################################
27 name: 'yardstick-verify-{stream}'
34 - 'ericsson-ca-build-1-defaults'
38 credentials-id: '{ssh-credentials}'
39 refspec: '$GERRIT_REFSPEC'
40 choosing-strategy: 'gerrit'
45 - patchset-created-event:
46 exclude-drafts: 'false'
47 exclude-trivial-rebase: 'false'
48 exclude-no-code-change: 'false'
49 - draft-published-event
50 - comment-added-contains-event:
51 comment-contains-value: 'recheck'
52 - comment-added-contains-event:
53 comment-contains-value: 'reverify'
55 - project-compare-type: 'ANT'
56 project-pattern: '{project}'
58 - branch-compare-type: 'ANT'
59 branch-pattern: '**/{branch}'
66 echo "Running unit tests..."
68 virtualenv $WORKSPACE/yardstick_venv
69 source $WORKSPACE/yardstick_venv/bin/activate
70 easy_install -U setuptools
71 python setup.py develop
76 name: 'yardstick-merge-{stream}'
83 - 'ericsson-ca-build-1-defaults'
87 credentials-id: '{ssh-credentials}'
89 choosing-strategy: 'default'
95 - comment-added-contains-event:
96 comment-contains-value: 'remerge'
98 - project-compare-type: 'ANT'
99 project-pattern: '{project}'
101 - branch-compare-type: 'ANT'
102 branch-pattern: '**/{branch}'
110 echo "Running unit tests..."
112 virtualenv $WORKSPACE/yardstick_venv
113 source $WORKSPACE/yardstick_venv/bin/activate
114 easy_install -U setuptools
115 python setup.py develop