Console Output
02:45:20 [2025-11-24T02:45:20.794Z] + echo 🔧 Using Jenkins credentials for deployment...
02:45:20 [2025-11-24T02:45:20.795Z] 🔧 Using Jenkins credentials for deployment...
02:45:20 [2025-11-24T02:45:20.795Z] + export POSTGRES_DB=****
02:45:20 [2025-11-24T02:45:20.795Z] + export POSTGRES_USER=****
02:45:20 [2025-11-24T02:45:20.795Z] + export POSTGRES_PASSWORD=****
02:45:20 [2025-11-24T02:45:20.795Z] + export PROJECT_NAME=Generic PostgreSQL
02:45:20 [2025-11-24T02:45:20.795Z] + export PROJECT_SCHEMA=none
02:45:20 [2025-11-24T02:45:20.795Z] + export JENKINS_WORKSPACE=/home/geeplo/services/jenkins_home/workspace/****-deploy/****ql
02:45:20 [2025-11-24T02:45:20.795Z] + echo 📋 Deployment configuration:
02:45:20 [2025-11-24T02:45:20.795Z] 📋 Deployment configuration:
02:45:20 [2025-11-24T02:45:20.795Z] + echo Database: ****
02:45:20 [2025-11-24T02:45:20.795Z] Database: ****
02:45:20 [2025-11-24T02:45:20.795Z] + echo User: ****
02:45:20 [2025-11-24T02:45:20.795Z] User: ****
02:45:20 [2025-11-24T02:45:20.795Z] + echo Project: Generic PostgreSQL
02:45:20 [2025-11-24T02:45:20.795Z] Project: Generic PostgreSQL
02:45:20 [2025-11-24T02:45:20.795Z] + echo Schema: none
02:45:20 [2025-11-24T02:45:20.796Z] Schema: none
02:45:20 [2025-11-24T02:45:20.796Z] + echo Workspace: /home/geeplo/services/jenkins_home/workspace/****-deploy/****ql
02:45:20 [2025-11-24T02:45:20.796Z] Workspace: /home/geeplo/services/jenkins_home/workspace/****-deploy/****ql
02:45:20 [2025-11-24T02:45:20.796Z] + echo Password: [REDACTED]
02:45:20 [2025-11-24T02:45:20.796Z] Password: [REDACTED]
02:45:20 [2025-11-24T02:45:20.796Z] + docker-compose -f docker-compose.yml down
02:45:20 [2025-11-24T02:45:20.796Z] Container datashield-backup Stopping
02:45:32 [2025-11-24T02:45:32.903Z] Container datashield-backup Stopped
02:45:32 [2025-11-24T02:45:32.903Z] Container datashield-backup Removing
02:45:32 [2025-11-24T02:45:32.904Z] Container datashield-backup Removed
02:45:32 [2025-11-24T02:45:32.904Z] Container ****-**** Stopping
02:45:34 [2025-11-24T02:45:34.255Z] Container ****-**** Stopped
02:45:34 [2025-11-24T02:45:34.255Z] Container ****-**** Removing
02:45:34 [2025-11-24T02:45:34.255Z] Container ****-**** Removed
02:45:34 [2025-11-24T02:45:34.255Z] Network ****-deploy_datashield-network Removing
02:45:34 [2025-11-24T02:45:34.255Z] Network ****-deploy_datashield-network Resource is still in use
02:45:34 [2025-11-24T02:45:34.255Z] + sed s/\${POSTGRES_DB}/****/g docker-compose.yml
02:45:34 [2025-11-24T02:45:34.256Z] + sed -i s/\${POSTGRES_USER}/****/g docker-compose.tmp.yml
02:45:34 [2025-11-24T02:45:34.256Z] + sed -i s/\${POSTGRES_PASSWORD}/****/g docker-compose.tmp.yml
02:45:34 [2025-11-24T02:45:34.509Z] + sed -i s/\${PROJECT_NAME}/Generic PostgreSQL/g docker-compose.tmp.yml
02:45:34 [2025-11-24T02:45:34.510Z] + sed -i s/\${PROJECT_SCHEMA}/none/g docker-compose.tmp.yml
02:45:34 [2025-11-24T02:45:34.510Z] + sed -i s|\${JENKINS_WORKSPACE:-./****ql}|/home/geeplo/services/jenkins_home/workspace/****-deploy/****ql|g docker-compose.tmp.yml
02:45:34 [2025-11-24T02:45:34.511Z] + docker-compose -f docker-compose.tmp.yml up -d ****
02:45:34 [2025-11-24T02:45:34.511Z] Container ****-**** Creating
02:45:36 [2025-11-24T02:45:36.379Z] **** Your kernel does not support memory limit capabilities or the cgroup is not mounted. Limitation discarded.
02:45:36 [2025-11-24T02:45:36.379Z] **** Your kernel does not support memory soft limit capabilities or the cgroup is not mounted. Limitation discarded.
02:45:36 [2025-11-24T02:45:36.379Z] Container ****-**** Created
02:45:36 [2025-11-24T02:45:36.382Z] Container ****-**** Starting
02:45:36 [2025-11-24T02:45:36.937Z] Container ****-**** Started
02:45:36 [2025-11-24T02:45:36.937Z] + echo ⏳ Waiting for PostgreSQL to be ready...
02:45:36 [2025-11-24T02:45:36.937Z] ⏳ Waiting for PostgreSQL to be ready...
02:45:36 [2025-11-24T02:45:36.937Z] + docker exec ****-**** pg_isready -U **** -d ****
02:45:36 [2025-11-24T02:45:36.937Z] + echo ⏳ Waiting for PostgreSQL (attempt {1..60}/60)...
02:45:36 [2025-11-24T02:45:36.937Z] ⏳ Waiting for PostgreSQL (attempt {1..60}/60)...
02:45:36 [2025-11-24T02:45:36.937Z] + sleep 2
02:45:39 [2025-11-24T02:45:39.463Z] + docker exec ****-**** pg_isready -U **** -d ****
02:45:39 [2025-11-24T02:45:39.463Z] /var/run/****ql:5432 - accepting connections
02:45:39 [2025-11-24T02:45:39.463Z] + docker-compose -f docker-compose.tmp.yml up -d ****-backup
02:45:39 [2025-11-24T02:45:39.463Z] Container ****-**** Running
02:45:39 [2025-11-24T02:45:39.463Z] Container datashield-backup Creating
02:45:41 [2025-11-24T02:45:41.949Z] Container datashield-backup Created
02:45:41 [2025-11-24T02:45:41.950Z] Container ****-**** Waiting
02:45:42 [2025-11-24T02:45:42.501Z] Container ****-**** Healthy
02:45:42 [2025-11-24T02:45:42.501Z] Container datashield-backup Starting
02:45:43 [2025-11-24T02:45:43.415Z] Container datashield-backup Started
02:45:43 [2025-11-24T02:45:43.415Z] + rm docker-compose.tmp.yml