From 68945371f50ab22d54b4639bafae7bde3596d7b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=8B=D1=87=D0=BA=D0=BE=D0=B2=20=D0=90=D0=BD=D0=B4?= =?UTF-8?q?=D1=80=D0=B5=D0=B9?= Date: Tue, 19 May 2020 16:19:30 +0300 Subject: [PATCH] Jenkinsfile stage download --- Jenkinsfile | 8 +++----- pip | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e4ffc2c..07c840b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,13 +11,14 @@ def build_docker(name) { } def args = "${pref} --build-arg LIBS_BUILD_NUMBER=${env.BUILD_NUMBER} --build-arg JOBS_COUNT=${jobs}" dir ("docker/${image}") { - //echo "build ${image} ${args}" sh "docker build ${args} --no-cache -t ${image} ." } return "\n - ${image}" } node { - checkout scm + stage("Download SRC") { + checkout scm + } def _envmap = [:] def _env = sh(script: "env", returnStdout: true).trim().split("\n") _env.each{ l -> @@ -26,12 +27,9 @@ node { def _v = l.substring(_ind + 1); _envmap["${_n}"] = "${_v}"; } - //println "done!" - //println "${_envmap}" def _msg = "Built images:" def platforms = ['debian', 'osx', 'windows', 'android', 'pi'] for (int i = 0; i < platforms.size(); ++i) { - //echo "check BUILD_${platforms[i]} -> ${_v}" if (_envmap["BUILD_${platforms[i]}"] == "1") { stage("${platforms[i]}-libs") { _msg += build_docker("${platforms[i]}") diff --git a/pip b/pip index b860d8b..1899832 160000 --- a/pip +++ b/pip @@ -1 +1 @@ -Subproject commit b860d8bbafcde76290321b3e1b79b8ec400e0700 +Subproject commit 18998323629d04af96335621656d2197922e548e