X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=Jenkinsfile;h=88aaa9f6cf95d7e0de3bea87c73d30d48393ab5b;hb=d5d92ec343a9f61485c565c9f2ffb12afb85d67a;hp=c48f53d210adde213698ea31a4193f297e0f0d88;hpb=c2abdbf0e0ae12fc74e11b2dc09b33c4384d799c;p=osm%2FRO.git diff --git a/Jenkinsfile b/Jenkinsfile index c48f53d2..88aaa9f6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,3 +1,20 @@ +/* Copyright ETSI OSM and others + * + * All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. You may obtain + * a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + */ + properties([ parameters([ string(defaultValue: env.BRANCH_NAME, description: '', name: 'GERRIT_BRANCH'), @@ -12,11 +29,11 @@ properties([ def devops_checkout() { dir('devops') { - git url: "${PROJECT_URL_PREFIX}/osm/devops", branch: "master" + git url: "${PROJECT_URL_PREFIX}/osm/devops", branch: params.GERRIT_BRANCH } } -node('docker') { +node('stage_2') { checkout scm devops_checkout()