blob: 0d9f2df620bc86e23662df1b66679790f6cd5a76 [file] [log] [blame]
parameters:
jenkins:
client:
job:
test-devops-portal-unittests:
name: test-devops-portal-unittests
discard:
build:
keep_num: 10
artifact:
keep_num: 10
type: workflow-scm
concurrent: true
scm:
type: git
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
credentials: "gerrit"
script: test-nodejs-pipeline.groovy
trigger:
gerrit:
project:
"oss/devops-portal":
branches:
- master
event:
patchset:
- created:
excludeDrafts: false
excludeTrivialRebase: false
excludeNoCodeChange: false
comment:
- addedContains:
commentAddedCommentContains: '(recheck|reverify)'
param:
CREDENTIALS_ID:
type: string
default: "gerrit"
NODE_IMAGE:
type: string
default: "docker-sandbox.sandbox.mirantis.net/ikharin/ci/node-firefox:6.10"
COMMANDS:
type: text
default: |
npm run lint
npm run test:unit
npm run test:functional