Skip to content

Commit

Permalink
midpoint-quick-pipeline: fix of missing sh block #2
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Jun 1, 2022
1 parent 78d45c9 commit 8834196
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tools/jenkins/midpoint-quick-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,12 @@ podTemplate(
recipients: env.DEFAULT_MAIL_RECIPIENT,
sendToIndividuals: false])

if [ "${verbose}" -ge 1 ]
then
df -h
fi
sh """#!/bin/bash -ex
if [ "${verbose}" -ge 1 ]
then
df -h
fi
"""
} catch (Exception e) {
println 'Could not send email: ' + e
}
Expand Down

0 comments on commit 8834196

Please sign in to comment.