1 /* Copyright ETSI OSM and others
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may
6 * not use this file except in compliance with the License. You may obtain
7 * a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations
20 string(defaultValue: env.BRANCH_NAME, description: '', name: 'GERRIT_BRANCH'),
21 string(defaultValue: 'osm/RO', description: '', name: 'GERRIT_PROJECT'),
22 string(defaultValue: env.GERRIT_REFSPEC, description: '', name: 'GERRIT_REFSPEC'),
23 string(defaultValue: env.GERRIT_PATCHSET_REVISION, description: '', name: 'GERRIT_PATCHSET_REVISION'),
24 string(defaultValue: 'https://osm.etsi.org/gerrit', description: '', name: 'PROJECT_URL_PREFIX'),
25 booleanParam(defaultValue: false, description: '', name: 'TEST_INSTALL'),
26 string(defaultValue: 'artifactory-osm', description: '', name: 'ARTIFACTORY_SERVER'),
30 def devops_checkout() {
32 git url: "${PROJECT_URL_PREFIX}/osm/devops", branch: params.GERRIT_BRANCH
40 ci_helper = load "devops/jenkins/ci-pipelines/ci_stage_2.groovy"
41 ci_helper.ci_pipeline( 'RO',
42 params.PROJECT_URL_PREFIX,
43 params.GERRIT_PROJECT,
45 params.GERRIT_REFSPEC,
46 params.GERRIT_PATCHSET_REVISION,
48 params.ARTIFACTORY_SERVER)