<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-e1-hardware/+/21769">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">contrib/jenkins.sh: ugly work-around for PATH problems<br><br>For details see https://osmocom.org/issues/4911<br><br>Related: OS#4911<br>Change-Id: I04e9c29813f6695d0d53f7cdede34f83d24ea3fd<br>---<br>M contrib/jenkins.sh<br>1 file changed, 9 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-e1-hardware refs/changes/69/21769/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh</span><br><span>index 1a0750f..b788540 100755</span><br><span>--- a/contrib/jenkins.sh</span><br><span>+++ b/contrib/jenkins.sh</span><br><span>@@ -5,6 +5,15 @@</span><br><span> # * WITH_MANUALS: build manual PDFs if set to "1"</span><br><span> # * PUBLISH: upload manuals after building if set to "1" (ignored without WITH_MANUALS = "1")</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+# ugly, ugly hack to work around the fact that we cannot _extend_ the path when executing</span><br><span style="color: hsl(120, 100%, 40%);">+# a docker container.  We can either override it (and loose our /opt/... toolchain paths)</span><br><span style="color: hsl(120, 100%, 40%);">+# or we can not specify the /build_bin whcih means the osmo-build-dep.sh is not found</span><br><span style="color: hsl(120, 100%, 40%);">+# See https://osmocom.org/issues/4911</span><br><span style="color: hsl(120, 100%, 40%);">+if [ -d /build_bin ]; then</span><br><span style="color: hsl(120, 100%, 40%);">+    PATH=$PATH:/build_bin</span><br><span style="color: hsl(120, 100%, 40%);">+ export PATH</span><br><span style="color: hsl(120, 100%, 40%);">+fi</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> if ! [ -x "$(command -v osmo-build-dep.sh)" ]; then</span><br><span>   echo "Error: We need to have scripts/osmo-deps.sh from http://git.osmocom.org/osmo-ci/ in PATH !"</span><br><span>  exit 2</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-e1-hardware/+/21769">change 21769</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-e1-hardware/+/21769"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-e1-hardware </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I04e9c29813f6695d0d53f7cdede34f83d24ea3fd </div>
<div style="display:none"> Gerrit-Change-Number: 21769 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>