When running docker commands from an interactive shell the '-it' flags
are needed. Since the backup isn't running any interactive command,
these flags aren't needed and failing the job due to a tty not being
allocated to the Jenkins user.
Change-Id: I9bd81faaf548b3247ee1992f6db9c0258ebfc1fb
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
- '{name}'
- '{name}-tools'
+ disabled: false
+
jobs:
- '{project}-verify-basic'
- 'backup-pharos-dashboard'
mkdir -p $BACKUP_DIR
echo "-- $(date +%Y%m%d) --"
echo "Backing up Pharos Dashboard data..."
- sudo docker run -it --rm \
+ sudo docker run --rm \
-v pharos-data:/pharos-data:ro \
-v $TMP_DIR:/backup \
alpine \