blob: 8a86363c1f9983846144e6cacbfb5eeb1bc46702 [file] [log] [blame]
Elena Ezhova9885d762018-01-30 17:10:06 +04001parameters:
2 jenkins:
3 client:
4 plugin:
5 gerrit-trigger: {}
6 job:
7 test_nginx_vnf:
8 type: workflow-scm
9 name: test-nginx-vnf
10 display_name: "Onboarding tests for the NGINX VNF"
11 discard:
12 build:
13 keep_num: 20
14 scm:
15 type: git
16 url: "${_param:jenkins_gerrit_url}/vnf-onboarding/pipelines"
17 credentials: "${_param:vnf_gerrit_credentials}"
18 script: test_vnf_onboarding.groovy
19 trigger:
20 gerrit:
21 project:
22 "vnf-onboarding/nginx-vnf":
23 branches:
24 - compare_type: "ANT"
25 name: "**"
26 event:
27 patchset:
28 - created:
29 excludeDrafts: false
30 excludeTrivialRebase: false
31 excludeNoCodeChange: false
32 change:
33 - merged
34 comment:
35 - addedContains:
36 commentAddedCommentContains: '(retest|recheck|reverify)'
37 message:
38 build_successful: "Build successful"
39 build_unstable: "Build unstable"
40 build_failure: "Build failed"
41 param:
42 DEFAULT_GIT_URL:
43 type: string
44 default: "${_param:jenkins_gerrit_url}/vnf-onboarding/nginx-vnf"
45 DEFAULT_GIT_REF:
46 type: string
47 default: master
48 OPENSTACK_API_URL:
49 type: string
50 default: "${_param:vnf_openstack_api_url}"
51 OPENSTACK_API_CREDENTIALS:
52 type: string
53 default: "${_param:vnf_openstack_api_credentials}"
54 OPENSTACK_API_TENANT:
55 type: string
56 default: "test-nginx"
57 GERRIT_CREDENTIALS:
58 type: string
59 default: "${_param:vnf_gerrit_credentials}"
60 ELASTIC_URL:
61 type: string
62 default: "${_param:vnf_elastic_url}"
63 DEBUG_OPTIONS:
64 type: string
65 default: "skip_inspection=1"
66 description: "Example: skip_all=1 skip_deploy=1 skip_inspection=1"
67 NFV_PLATFORM_REPO:
68 type: string
69 description: "Take Cloudify blueprints, Dockerfile and CI scripts from this repo"
70 default: "${_param:jenkins_gerrit_url}/vnf-onboarding/nfv-platform"
71 NFV_PLATFORM_REPO_BRANCH:
72 type: string
73 default: "master"
74 NFV_PLATFORM_REPO_CREDENTIALS:
75 type: string
76 default: "${_param:vnf_gerrit_credentials}"
77 CI_OPTIONS:
78 type: string
79 default: "CFY_AGENT_NET=cfm-net CFY_AGENT_FLAVOR=cfy.agent CFY_AGENT_IMAGE=ubuntu1 CFY_AGENT_USER=cfyuser CFY_SG=cfm-sg CFY_SSH_KEY_ID=openstack_key"
80 VNF_OPTIONS:
81 type: string
82 default: ""