Switch at updated pipeline for devops-portal
Number of builds in history was increased to 15, useless variables were
removed, name of a pipeline script was updated.
Change-Id: I27b1d1c1ac47f577029015d4d2412adfcac3f972
diff --git a/jenkins/client/job/test_devops_portal.yml b/jenkins/client/job/test_devops_portal.yml
index abe2a36..3200283 100644
--- a/jenkins/client/job/test_devops_portal.yml
+++ b/jenkins/client/job/test_devops_portal.yml
@@ -6,16 +6,16 @@
name: test-oss-devops-portal
discard:
build:
- keep_num: 10
+ keep_num: 15
artifact:
- keep_num: 10
+ keep_num: 15
type: workflow-scm
concurrent: true
scm:
type: git
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
credentials: "gerrit"
- script: test-nodejs-pipeline.groovy
+ script: test-devops-portal-pipeline.groovy
trigger:
gerrit:
project:
@@ -32,21 +32,9 @@
- 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
- npm run test:functional
DEFAULT_GIT_URL:
type: string
default: "${_param:jenkins_gerrit_url}/oss/devops-portal"