Console Output
02:45:28 [2025-11-28T02:45:28.343Z] + echo 🔧 Using Jenkins credentials for deployment...
02:45:28 [2025-11-28T02:45:28.344Z] 🔧 Using Jenkins credentials for deployment...
02:45:28 [2025-11-28T02:45:28.344Z] + export POSTGRES_DB=****
02:45:28 [2025-11-28T02:45:28.344Z] + export POSTGRES_USER=****
02:45:28 [2025-11-28T02:45:28.344Z] + export POSTGRES_PASSWORD=****
02:45:28 [2025-11-28T02:45:28.344Z] + export PROJECT_NAME=Generic PostgreSQL
02:45:28 [2025-11-28T02:45:28.344Z] + export PROJECT_SCHEMA=none
02:45:28 [2025-11-28T02:45:28.344Z] + export JENKINS_WORKSPACE=/home/geeplo/services/jenkins_home/workspace/****-deploy/****ql
02:45:28 [2025-11-28T02:45:28.344Z] + echo 📋 Deployment configuration:
02:45:28 [2025-11-28T02:45:28.345Z] 📋 Deployment configuration:
02:45:28 [2025-11-28T02:45:28.345Z] + echo Database: ****
02:45:28 [2025-11-28T02:45:28.345Z] Database: ****
02:45:28 [2025-11-28T02:45:28.345Z] + echo User: ****
02:45:28 [2025-11-28T02:45:28.345Z] User: ****
02:45:28 [2025-11-28T02:45:28.345Z] + echo Project: Generic PostgreSQL
02:45:28 [2025-11-28T02:45:28.345Z] Project: Generic PostgreSQL
02:45:28 [2025-11-28T02:45:28.345Z] + echo Schema: none
02:45:28 [2025-11-28T02:45:28.345Z] Schema: none
02:45:28 [2025-11-28T02:45:28.345Z] + echo Workspace: /home/geeplo/services/jenkins_home/workspace/****-deploy/****ql
02:45:28 [2025-11-28T02:45:28.345Z] Workspace: /home/geeplo/services/jenkins_home/workspace/****-deploy/****ql
02:45:28 [2025-11-28T02:45:28.345Z] + echo Password: [REDACTED]
02:45:28 [2025-11-28T02:45:28.345Z] Password: [REDACTED]
02:45:28 [2025-11-28T02:45:28.345Z] + docker-compose -f docker-compose.yml down
02:45:28 [2025-11-28T02:45:28.345Z] Container datashield-backup Stopping
02:45:40 [2025-11-28T02:45:40.447Z] Container datashield-backup Stopped
02:45:40 [2025-11-28T02:45:40.447Z] Container datashield-backup Removing
02:45:40 [2025-11-28T02:45:40.447Z] Container datashield-backup Removed
02:45:40 [2025-11-28T02:45:40.447Z] Container ****-**** Stopping
02:45:41 [2025-11-28T02:45:41.793Z] Container ****-**** Stopped
02:45:41 [2025-11-28T02:45:41.793Z] Container ****-**** Removing
02:45:42 [2025-11-28T02:45:42.744Z] Container ****-**** Removed
02:45:42 [2025-11-28T02:45:42.744Z] Network ****-deploy_datashield-network Removing
02:45:42 [2025-11-28T02:45:42.745Z] Network ****-deploy_datashield-network Resource is still in use
02:45:42 [2025-11-28T02:45:42.745Z] + sed s/\${POSTGRES_DB}/****/g docker-compose.yml
02:45:42 [2025-11-28T02:45:42.745Z] + sed -i s/\${POSTGRES_USER}/****/g docker-compose.tmp.yml
02:45:42 [2025-11-28T02:45:42.996Z] + sed -i s/\${POSTGRES_PASSWORD}/****/g docker-compose.tmp.yml
02:45:42 [2025-11-28T02:45:42.996Z] + sed -i s/\${PROJECT_NAME}/Generic PostgreSQL/g docker-compose.tmp.yml
02:45:42 [2025-11-28T02:45:42.996Z] + sed -i s/\${PROJECT_SCHEMA}/none/g docker-compose.tmp.yml
02:45:43 [2025-11-28T02:45:43.248Z] + sed -i s|\${JENKINS_WORKSPACE:-./****ql}|/home/geeplo/services/jenkins_home/workspace/****-deploy/****ql|g docker-compose.tmp.yml
02:45:43 [2025-11-28T02:45:43.499Z] + docker-compose -f docker-compose.tmp.yml up -d ****
02:45:43 [2025-11-28T02:45:43.750Z] Container ****-**** Creating
02:45:44 [2025-11-28T02:45:44.302Z] **** Your kernel does not support memory limit capabilities or the cgroup is not mounted. Limitation discarded.
02:45:44 [2025-11-28T02:45:44.303Z] **** Your kernel does not support memory soft limit capabilities or the cgroup is not mounted. Limitation discarded.
02:45:44 [2025-11-28T02:45:44.303Z] Container ****-**** Created
02:45:44 [2025-11-28T02:45:44.303Z] Container ****-**** Starting
02:45:45 [2025-11-28T02:45:45.215Z] Container ****-**** Started
02:45:45 [2025-11-28T02:45:45.216Z] + echo ⏳ Waiting for PostgreSQL to be ready...
02:45:45 [2025-11-28T02:45:45.216Z] ⏳ Waiting for PostgreSQL to be ready...
02:45:45 [2025-11-28T02:45:45.216Z] + docker exec ****-**** pg_isready -U **** -d ****
02:45:45 [2025-11-28T02:45:45.467Z] + echo ⏳ Waiting for PostgreSQL (attempt {1..60}/60)...
02:45:45 [2025-11-28T02:45:45.467Z] ⏳ Waiting for PostgreSQL (attempt {1..60}/60)...
02:45:45 [2025-11-28T02:45:45.468Z] + sleep 2
02:45:47 [2025-11-28T02:45:47.952Z] + docker exec ****-**** pg_isready -U **** -d ****
02:45:47 [2025-11-28T02:45:47.952Z] /var/run/****ql:5432 - accepting connections
02:45:47 [2025-11-28T02:45:47.953Z] + docker-compose -f docker-compose.tmp.yml up -d ****-backup
02:45:47 [2025-11-28T02:45:47.953Z] Container ****-**** Running
02:45:47 [2025-11-28T02:45:47.953Z] Container datashield-backup Creating
02:46:02 [2025-11-28T02:46:02.719Z] Container datashield-backup Created
02:46:02 [2025-11-28T02:46:02.719Z] Container ****-**** Waiting
02:46:02 [2025-11-28T02:46:02.720Z] Container ****-**** Healthy
02:46:02 [2025-11-28T02:46:02.720Z] Container datashield-backup Starting
02:46:02 [2025-11-28T02:46:02.720Z] Container datashield-backup Started
02:46:02 [2025-11-28T02:46:02.720Z] + rm docker-compose.tmp.yml