summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-22 10:38:50 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-22 11:36:58 +0200
commiteb33aa7f63544c68421558373dcce787a714c33a (patch)
treea7bc71d3fd863a9d21cd3a36f819fae3dbf54667
parenta36c355462fa1e987ac7dc338da5b839158171bb (diff)
OBS: add --noservice to osc ci command
Prevent the following error: ERROR: please install obs-service-format_spec_file or use the --noservice option Build step 'Execute shell' marked build as failure Related: https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_latest/976/console Change-Id: Ib2fbaace47b3c12462860419f19b01a5b4d192e8
-rwxr-xr-xscripts/osmocom-latest-packages.sh2
-rwxr-xr-xscripts/osmocom-nightly-packages.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh
index ddf5359..5e35659 100755
--- a/scripts/osmocom-latest-packages.sh
+++ b/scripts/osmocom-latest-packages.sh
@@ -207,7 +207,7 @@ build_osmocom() {
#build osmo-uecups
cd "$TOP/$PROJ"
- osc ci -m "Latest Tagged versions of $DT"
+ osc ci -m "Latest Tagged versions of $DT" --noservice
}
build_osmocom
diff --git a/scripts/osmocom-nightly-packages.sh b/scripts/osmocom-nightly-packages.sh
index 8f36377..a79a754 100755
--- a/scripts/osmocom-nightly-packages.sh
+++ b/scripts/osmocom-nightly-packages.sh
@@ -126,7 +126,7 @@ build() {
cd "$oscdir"
osc add -- *.tar* *.dsc
osmo_obs_add_rpm_spec "$oscdir" "$repodir" "$name"
- osc ci -m "Snapshot $name $DT"
+ osc ci -m "Snapshot $name $DT" --noservice
}
post() {