We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc83d7f commit 81399efCopy full SHA for 81399ef
bin/codedeploy/ValidateService.sh
@@ -35,10 +35,12 @@ check_every 2
35
echo "Scanning with openscap and gauntlt"
36
mkdir -p /app/build
37
cat < /dev/null > "$GAUNTLT_RESULTS"
38
-chown centos:centos "$GAUNTLT_RESULTS"
+chown -R centos:centos "$GAUNTLT_RESULTS" /app/build /app/ansible/tmp
39
+
40
set +e
41
sudo -u centos HOME=/home/centos /app/bin/ansible.sh scan-openscap.yml scan-gauntlt.yml
42
RETCODE=$?
43
cp "$GAUNTLT_RESULTS" "$GAUNTLT_RESULTS_SAVE"
44
set -e
45
exit "$RETCODE"
46
+rm -rf /app/ansible/tmp
0 commit comments