Skip to content

Console Output

02:46:08 [2025-11-28T02:46:08.262Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
02:46:08 [2025-11-28T02:46:08.262Z] 		 Affected argument(s) used the following variable(s): [POSTGRES_DB]
02:46:08 [2025-11-28T02:46:08.262Z] 		 See https://jenkins.io/redirect/groovy-string-interpolation for details.
02:46:08 [2025-11-28T02:46:08.525Z] + export POSTGRES_DB=****
02:46:08 [2025-11-28T02:46:08.525Z] + export POSTGRES_USER=****
02:46:08 [2025-11-28T02:46:08.525Z] + export PGPASSWORD=****
02:46:08 [2025-11-28T02:46:08.525Z] + mkdir -p jenkins_backups
02:46:08 [2025-11-28T02:46:08.525Z] + docker exec -e PGPASSWORD=**** ****-**** pg_dump -h localhost -U **** -d **** --format=custom --compress=9 --file=/tmp/jenkins_backup_20251128_024607.sql
02:46:09 [2025-11-28T02:46:09.437Z] + docker cp ****-****:/tmp/jenkins_backup_20251128_024607.sql jenkins_backups/
02:46:09 [2025-11-28T02:46:09.688Z] + cd jenkins_backups
02:46:09 [2025-11-28T02:46:09.689Z] + sha256sum jenkins_backup_20251128_024607.sql
02:46:09 [2025-11-28T02:46:09.689Z] + echo ✅ Backup created: jenkins_backup_20251128_024607.sql
02:46:09 [2025-11-28T02:46:09.689Z] ✅ Backup created: jenkins_backup_20251128_024607.sql
02:46:09 [2025-11-28T02:46:09.689Z] + ls -lh jenkins_backup_20251128_024607.sql
02:46:09 [2025-11-28T02:46:09.689Z] -rw-r--r-- 1 root root 6.9K Nov 28 02:46 jenkins_backup_20251128_024607.sql