| Step | Arguments | Status | ||
|---|---|---|---|---|
| Start of Pipeline - (19 min in block) | ||||
| node - (19 min in block) | ||||
| node block - (19 min in block) | ||||
| stage - (2.4 sec in block) | Declarative: Checkout SCM | |||
| stage block (Declarative: Checkout SCM) - (2.1 sec in block) | ||||
| checkout - (1.9 sec in self) | ||||
| withEnv - (19 min in block) | GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | |||
| withEnv block - (19 min in block) | ||||
| withEnv - (19 min in block) | COMPOSE_PROJECT_NAME | |||
| withEnv block - (19 min in block) | ||||
| stage - (18 min in block) | Build Images | |||
| stage block (Build Images) - (18 min in block) | ||||
| echo - (68 ms in self) | Building Docker images... | |||
| sh - (18 min in self) | cd ${WORKSPACE} docker compose -f docker-compose.production.yml build --no-cache | |||
| stage - (1.1 sec in block) | Stop Old Containers | |||
| stage block (Stop Old Containers) - (0.86 sec in block) | ||||
| echo - (73 ms in self) | Stopping old containers... | |||
| sh - (0.64 sec in self) | cd ${WORKSPACE} docker compose -f docker-compose.production.yml down || true | |||
| stage - (12 sec in block) | Start New Containers | |||
| stage block (Start New Containers) - (11 sec in block) | ||||
| echo - (73 ms in self) | Starting new containers... | |||
| sh - (11 sec in self) | cd ${WORKSPACE} docker compose -f docker-compose.production.yml up -d | |||
| stage - (32 sec in block) | Wait for Startup | |||
| stage block (Wait for Startup) - (32 sec in block) | ||||
| echo - (0.1 sec in self) | Waiting for services to initialize... | |||
| sh - (32 sec in self) | # Wait for services to start sleep 30 | |||
| stage - (0.92 sec in block) | Health Check | |||
| stage block (Health Check) - (0.62 sec in block) | ||||
| echo - (65 ms in self) | Running health checks... | |||
| sh - (0.41 sec in self) | # Check if containers are running echo "Checking container status..." docker ps | grep juntete # Check backend health echo "Checking backend health..." wget -q --spider http://localhost:8000/health || echo "Backend health check failed (might still be starting)" # Check frontend (correct port is 3000) echo "Checking frontend health..." wget -q --spider http://localhost:3000/juntete || echo "Frontend health check failed (might still be starting)" echo "Deployment completed!" | |||
| stage - (3.2 sec in block) | Declarative: Post Actions | |||
| stage block (Declarative: Post Actions) - (3 sec in block) | ||||
| echo - (0.2 sec in self) | Pipeline execution completed | |||
| sh - (2.5 sec in self) | cd ${WORKSPACE} echo "Container status:" docker compose -f docker-compose.production.yml ps || true echo "Recent logs (backend):" docker compose -f docker-compose.production.yml logs --tail=20 backend || true echo "Recent logs (frontend):" docker compose -f docker-compose.production.yml logs --tail=20 frontend || true | |||
| echo - (98 ms in self) | Deployment successful! |