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-build-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
73 - generate-api-docs-for-yardstick
78 name: 'yardstick-merge-{stream}'
85 - 'ericsson-build-defaults'
88 default: '$GS_BASE{gs-pathname}'
89 description: "Directory where the build artifact will be located upon the completion of the build."
93 credentials-id: '{ssh-credentials}'
95 choosing-strategy: 'default'
100 - change-merged-event
101 - comment-added-contains-event:
102 comment-contains-value: 'remerge'
104 - project-compare-type: 'ANT'
105 project-pattern: '{project}'
107 - branch-compare-type: 'ANT'
108 branch-pattern: '**/{branch}'
116 echo "Running unit tests..."
118 virtualenv $WORKSPACE/yardstick_venv
119 source $WORKSPACE/yardstick_venv/bin/activate
120 easy_install -U setuptools
121 python setup.py develop
123 - generate-api-docs-for-yardstick
125 - shell: 'deactivate'
127 ################################
129 ################################
132 name: generate-api-docs-for-yardstick
139 sphinx-apidoc -o docs/apidocs yardstick