blob: 0d9f2df620bc86e23662df1b66679790f6cd5a76 [file] [log] [blame]
Ilya Kharin8450eb82017-03-29 16:56:06 +04001parameters:
2 jenkins:
3 client:
4 job:
5 test-devops-portal-unittests:
6 name: test-devops-portal-unittests
7 discard:
8 build:
9 keep_num: 10
10 artifact:
11 keep_num: 10
12 type: workflow-scm
13 concurrent: true
14 scm:
15 type: git
16 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
17 credentials: "gerrit"
18 script: test-nodejs-pipeline.groovy
19 trigger:
20 gerrit:
21 project:
22 "oss/devops-portal":
23 branches:
24 - master
25 event:
26 patchset:
27 - created:
28 excludeDrafts: false
29 excludeTrivialRebase: false
30 excludeNoCodeChange: false
31 comment:
32 - addedContains:
33 commentAddedCommentContains: '(recheck|reverify)'
34 param:
35 CREDENTIALS_ID:
36 type: string
37 default: "gerrit"
38 NODE_IMAGE:
39 type: string
40 default: "docker-sandbox.sandbox.mirantis.net/ikharin/ci/node-firefox:6.10"
41 COMMANDS:
Ilya Kharin7d5641c2017-03-31 11:39:31 +040042 type: text
43 default: |
44 npm run lint
45 npm run test:unit
46 npm run test:functional