Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion ci/setup-cfengine-build-host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ fuser -k "$CHROOT_ROOT" >/dev/null 2>&1 || true
# Unmount the /proc filesystem if it was previously mounted inside the chroot.
umount "${CHROOT_ROOT}proc" >/dev/null 2>&1 || true

chown -R jenkins /home/jenkins
# ENT-14386 often it seems we are experiencing a race condition with this script and something else causing trouble
if ! chown -R jenkins /home/jenkins; then
echo "ENT-14386 some trouble chown -R jenkins /home/jenkins, current processes are:"
ps -efl
fi

# cleanup any previous runs cfengine-masterfiles tar balls
rm -rf cfengine-masterfiles*
Expand Down
Loading