osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/38253?usp=email )


Change subject: contrib/jenkins: add SKIP_CLEAN_WORKSPACE
......................................................................

contrib/jenkins: add SKIP_CLEAN_WORKSPACE

In order to run this script from pyosmocom's contrib/jenkins.sh script,
we want to skip the clean workspace step. Add an environment variable to
do that.

Related: OS#6570
Change-Id: Ic8dc9b85da17719195f7374d37eccb4dedba6ce8
---
M contrib/jenkins.sh
1 file changed, 4 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/53/38253/1

diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 42bf5af..5fa5226 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -5,6 +5,7 @@
 # * WITH_MANUALS: build manual PDFs if set to "1"
 # * PUBLISH: upload manuals after building if set to "1" (ignored without 
WITH_MANUALS = "1")
 # * JOB_TYPE: one of 'test', 'distcheck', 'pylint', 'docs'
+# * SKIP_CLEAN_WORKSPACE: don't run osmo-clean-workspace.sh (for pyosmocom CI)
 #

 export PYTHONUNBUFFERED=1
@@ -16,7 +17,9 @@
        exit 1
 fi

-osmo-clean-workspace.sh
+if [ -z "$SKIP_CLEAN_WORKSPACE" ]; then
+       osmo-clean-workspace.sh
+fi

 case "$JOB_TYPE" in
 "test")

--
To view, visit https://gerrit.osmocom.org/c/pysim/+/38253?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ic8dc9b85da17719195f7374d37eccb4dedba6ce8
Gerrit-Change-Number: 38253
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>

Reply via email to