Skip to content
StepArgumentsStatus
Start of Pipeline - (1 min 13 sec in block)
Success
node - (1 min 10 sec in block)
Success
node block - (1 min 9 sec in block)
Success
stage - (1.6 sec in block)Declarative: Checkout SCM
Success
stage block (Declarative: Checkout SCM) - (1.3 sec in block)
Success
checkout - (1.2 sec in self)
Success
withEnv - (1 min 6 sec in block)GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL
Success
withEnv block - (1 min 6 sec in block)
Success
withEnv - (1 min 4 sec in block)DOCKER_IMAGE, BACKUP_RETENTION, COMPOSE_FILE
Success
withEnv block - (1 min 4 sec in block)
Success
timeout - (1 min 2 sec in block)
Success
timeout block - (1 min 2 sec in block)
Success
timestamps - (1 min 2 sec in block)
Success
timestamps block - (1 min 1 sec in block)
Success
stage - (4 sec in block)Checkout
Success
stage block (Checkout) - (3.6 sec in block)
Success
script - (3.3 sec in block)
Success
script block - (2.9 sec in block)
Success
cleanWs - (0.39 sec in self)
Success
checkout - (1.7 sec in self)
Success
echo - (52 ms in self)✅ Code checked out successfully
Success
pwd - (82 ms in self)
Success
echo - (0.14 sec in self)📂 Working directory: /var/jenkins_home/workspace/postgres-deploy
Success
echo - (90 ms in self)🌿 Git branch: null
Success
echo - (46 ms in self)🏷️ Git commit: ade1f21be3ea31e81a6f387d5d2dfb8a955ff3da
Success
stage - (5.8 sec in block)Validate Configuration
Success
stage block (Validate Configuration) - (5.5 sec in block)
Success
script - (5.3 sec in block)
Success
script block - (5.1 sec in block)
Success
echo - (0.43 sec in self)🔍 Validating configuration files...
Success
fileExists - (0.15 sec in self)docker-compose.yml
Success
echo - (0.16 sec in self)✅ Found: docker-compose.yml
Success
fileExists - (0.15 sec in self)postgresql/conf/postgresql.conf
Success
echo - (0.11 sec in self)✅ Found: postgresql/conf/postgresql.conf
Success
fileExists - (0.16 sec in self)postgresql/conf/pg_hba.conf
Success
echo - (0.15 sec in self)✅ Found: postgresql/conf/pg_hba.conf
Success
fileExists - (0.17 sec in self)postgresql/init/01-init-database.sh
Success
echo - (0.22 sec in self)✅ Found: postgresql/init/01-init-database.sh
Success
fileExists - (0.17 sec in self).env.example
Success
echo - (0.14 sec in self)✅ Found: .env.example
Success
sh - (0.38 sec in self) echo "🐳 Validating Docker Compose files..." docker-compose -f docker-compose.yml config --quiet
Success
sh - (0.97 sec in self) echo "🗄️ Validating PostgreSQL configuration..." # Basic syntax check for postgresql.conf grep -E '^(shared_buffers|effective_cache_size|work_mem)' postgresql/conf/postgresql.conf
Success
sh - (0.37 sec in self) echo "🔐 Checking Jenkins credentials configuration..." echo "ℹ️ Note: Make sure you have configured these Jenkins credentials:" echo " - postgres-password (Secret Text): Your PostgreSQL password" echo " - postgres-db (String, optional): Database name (default: postgres)" echo " - postgres-user (String, optional): Database user (default: postgres)" echo "📝 Configure in: Jenkins → Manage Jenkins → Manage Credentials → (global)"
Success
stage - (3.1 sec in block)System Health Check
Success
stage block (System Health Check) - (1 sec in block)
Success
script - (0.88 sec in block)
Success
script block - (0.75 sec in block)
Success
echo - (61 ms in self)🔍 Checking system resources...
Success
sh - (0.56 sec in self) if ! docker info >/dev/null 2>&1; then echo "❌ Docker is not running" exit 1 fi echo "✅ Docker is running" # Check system resources echo "💾 Memory information:" free -h echo "💿 Disk space:" df -h . echo "🖥️ CPU information:" nproc
Success
stage - (32 sec in block)Deploy PostgreSQL
Success
stage block (Deploy PostgreSQL) - (31 sec in block)
Success
echo - (0.11 sec in self)Warning, empty changelog. Have you run checkout?
Success
echo - (0.27 sec in self)Warning, empty changelog. Have you run checkout?
Success
echo - (0.1 sec in self)Warning, empty changelog. Have you run checkout?
Success
echo - (0.19 sec in self)Warning, empty changelog. Have you run checkout?
Success
script - (30 sec in block)
Success
script block - (30 sec in block)
Success
echo - (0.1 sec in self)🚀 Deploying PostgreSQL...
Success
sh - (0.4 sec in self)chmod +x postgresql/scripts/*.sh
Success
withCredentials - (29 sec in block)
Success
withCredentials block - (28 sec in block)
Success
sh - (28 sec in self)
Success
echo - (44 ms in self)✅ PostgreSQL deployed successfully
Success
stage - (3.4 sec in block)Verify Deployment
Success
stage block (Verify Deployment) - (2.8 sec in block)
Success
script - (2.5 sec in block)
Success
script block - (2.3 sec in block)
Success
echo - (0.11 sec in self)🔍 Verifying deployment...
Success
withCredentials - (1.9 sec in block)
Success
withCredentials block - (1.3 sec in block)
Success
sh - (1.2 sec in self)
Success
echo - (43 ms in self)✅ Deployment verification completed
Success
stage - (4.6 sec in block)Performance Test
Success
stage block (Performance Test) - (4.2 sec in block)
Success
script - (4 sec in block)
Success
script block - (3.8 sec in block)
Success
echo - (1.3 sec in self)⚡ Running performance tests...
Success
withCredentials - (1.9 sec in block)
Success
withCredentials block - (0.69 sec in block)
Success
sh - (0.6 sec in self)
Success
echo - (45 ms in self)✅ Performance tests completed
Success
stage - (4.7 sec in block)Create Backup
Success
stage block (Create Backup) - (4.1 sec in block)
Success
script - (3.2 sec in block)
Success
script block - (2.3 sec in block)
Success
echo - (95 ms in self)💾 Creating deployment backup: jenkins_backup_20251125_024610.sql
Success
withCredentials - (1.7 sec in block)
Success
withCredentials block - (1.3 sec in block)
Success
sh - (1.2 sec in self)
Success
archiveArtifacts - (0.26 sec in self)
Success
stage - (3.1 sec in block)Declarative: Post Actions
Success
stage block (Declarative: Post Actions) - (2.8 sec in block)
Success
script - (1 sec in block)
Success
script block - (0.69 sec in block)
Success
echo - (0.11 sec in self)📋 Pipeline completed with status: SUCCESS
Success
echo - (73 ms in self) 🎯 PostgreSQL Deployment Pipeline 📅 Build: 31 🌿 Branch: null 🏷️ Commit: ade1f21b ⏱️ Duration: 1 min 14 sec and counting ✅ Status: SUCCESS
Success
sh - (0.36 sec in self)find jenkins_backups -name "*.sql" -type f | sort -r | tail -n +6 | xargs rm -f || true
Success
script - (0.46 sec in block)
Success
script block - (0.17 sec in block)
Success
echo - (40 ms in self)🎉 PostgreSQL deployment successful!
Success
script - (0.91 sec in block)
Success
script block - (0.72 sec in block)
Success
echo - (0.16 sec in self)🧹 Cleaning up workspace...
Success
sh - (0.38 sec in self)rm -f *.tmp || true
Success
echo - (43 ms in self)✅ Keeping containers running for automated backups (main branch or production)
Success