<p>Pau Espin Pedrol <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/12991">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  Pau Espin Pedrol: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">jenkins: Only run journalctl if it is available on the machine<br><br>It's not common to run journald inside containers and the journalctl<br>command is not installed. Don't attempt to run it.<br><br>Change-Id: I9dee3cb0d0ca203da77dfa1a793a4e4e5f8593c6<br>---<br>M contrib/jenkins-run.sh<br>1 file changed, 3 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/jenkins-run.sh b/contrib/jenkins-run.sh</span><br><span>index 716899e..0b41247 100755</span><br><span>--- a/contrib/jenkins-run.sh</span><br><span>+++ b/contrib/jenkins-run.sh</span><br><span>@@ -30,7 +30,9 @@</span><br><span> </span><br><span> # tar up all results for archiving (optional)</span><br><span> cd "$trial_dir"</span><br><span style="color: hsl(0, 100%, 40%);">-journalctl -u ofono -o short-precise --since "${time_start}" > "$(readlink last_run)/ofono.log"</span><br><span style="color: hsl(120, 100%, 40%);">+if [ -x $(command -v journalctl) ]; then</span><br><span style="color: hsl(120, 100%, 40%);">+  journalctl -u ofono -o short-precise --since "${time_start}" > "$(readlink last_run)/ofono.log"</span><br><span style="color: hsl(120, 100%, 40%);">+fi</span><br><span> tar czf "$base/${trial_dir}-run.tgz" "$(readlink last_run)"</span><br><span> tar czf "$base/${trial_dir}-bin.tgz" *.md5 *.tgz</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12991">change 12991</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/12991"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-tester </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I9dee3cb0d0ca203da77dfa1a793a4e4e5f8593c6 </div>
<div style="display:none"> Gerrit-Change-Number: 12991 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Holger Freyther <holger@freyther.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>