| parameters: | |
| jenkins: | |
| client: | |
| job: | |
| test-oss-devops-portal: | |
| name: test-oss-devops-portal | |
| 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: | |
| COMPOSE_PATH: | |
| type: string | |
| default: "docker/stack/docker-compose.yml" | |
| CREDENTIALS_ID: | |
| type: string | |
| default: "gerrit" | |
| JSON_CONFIG: | |
| type: string | |
| default: '{"services": {"elasticsearch": {"endpoint": "http://elasticsearch:9200"}}}' | |
| COMMANDS: | |
| type: text | |
| default: | | |
| npm run lint | |
| npm run test:unit | |
| DEFAULT_GIT_URL: | |
| type: string | |
| default: "${_param:jenkins_gerrit_url}/oss/devops-portal" | |
| DEFAULT_GIT_REF: | |
| type: string | |
| default: master |