<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12690">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">jenkins-common.sh: exit if image fails to build<br><br>docker_images_require() must fail when a new image can not be built,<br>even if an old image already exists.<br><br>We have this situation in a lot of the -latest tests right now, which<br>makes it harder to find the actual error.<br><br>Change-Id: I7039089457b62b8798a79c5efd62bd91622986d3<br>---<br>M jenkins-common.sh<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/90/12690/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/jenkins-common.sh b/jenkins-common.sh</span><br><span>index f3d6c61..4289d0b 100644</span><br><span>--- a/jenkins-common.sh</span><br><span>+++ b/jenkins-common.sh</span><br><span>@@ -7,7 +7,7 @@</span><br><span>          # Trigger image build (cache will be used when up-to-date)</span><br><span>           if [ -z "$NO_DOCKER_IMAGE_BUILD" ]; then</span><br><span>                   echo "Building image: $i (export NO_DOCKER_IMAGE_BUILD=1 to prevent this)"</span><br><span style="color: hsl(0, 100%, 40%);">-                    make -C "../$i"</span><br><span style="color: hsl(120, 100%, 40%);">+                     make -C "../$i" || exit 1</span><br><span>          fi</span><br><span> </span><br><span>               # Detect missing images (build skipped/failure)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12690">change 12690</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/12690"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: docker-playground </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I7039089457b62b8798a79c5efd62bd91622986d3 </div>
<div style="display:none"> Gerrit-Change-Number: 12690 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>