| Step | Arguments | Status | ||
|---|---|---|---|---|
| Start of Pipeline - (8 min 41 sec in block) | ||||
| node - (8 min 40 sec in block) | ||||
| node block - (8 min 39 sec in block) | ||||
| stage - (2.1 sec in block) | Declarative: Checkout SCM | |||
| stage block (Declarative: Checkout SCM) - (1.7 sec in block) | ||||
| checkout - (1.5 sec in self) | ||||
| withEnv - (8 min 37 sec in block) | GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | |||
| withEnv block - (8 min 37 sec in block) | ||||
| withEnv - (8 min 37 sec in block) | COMPOSE_PROJECT_NAME | |||
| withEnv block - (8 min 36 sec in block) | ||||
| stage - (6 min 58 sec in block) | Build Images | |||
| stage block (Build Images) - (6 min 58 sec in block) | ||||
| echo - (37 ms in self) | Building Docker images... | |||
| sh - (6 min 58 sec in self) | cd ${WORKSPACE} docker-compose -f docker-compose.yml -f docker-compose.prod.yml build --no-cache | |||
| stage - (1.2 sec in block) | Stop Old Containers | |||
| stage block (Stop Old Containers) - (1 sec in block) | ||||
| echo - (31 ms in self) | Stopping old containers... | |||
| sh - (0.88 sec in self) | cd ${WORKSPACE} docker-compose -f docker-compose.yml -f docker-compose.prod.yml down || true | |||
| stage - (1 min 11 sec in block) | Start New Containers | |||
| stage block (Start New Containers) - (1 min 9 sec in block) | ||||
| echo - (61 ms in self) | Starting new containers... | |||
| sh - (1 min 9 sec in self) | cd ${WORKSPACE} docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d | |||
| stage - (23 sec in block) | Health Check | |||
| stage block (Health Check) - (22 sec in block) | ||||
| echo - (0.12 sec in self) | Running health checks... | |||
| sh - (22 sec in self) | # Wait for services to start sleep 20 # Check if containers are running echo "Checking container status..." docker ps | grep juntete # Check backend (using wget instead of curl) echo "Checking backend health..." wget -q --spider http://localhost:8000/health || echo "Backend health check failed (might still be starting)" # Check frontend echo "Checking frontend health..." wget -q --spider http://localhost:3002 || echo "Frontend health check failed (might still be starting)" echo "Deployment completed!" | |||
| stage - (1.9 sec in block) | Declarative: Post Actions | |||
| stage block (Declarative: Post Actions) - (1.7 sec in block) | ||||
| echo - (69 ms in self) | Pipeline execution completed | |||
| sh - (1.4 sec in self) | cd ${WORKSPACE} echo "Container status:" docker-compose -f docker-compose.yml -f docker-compose.prod.yml ps || true echo "Recent logs (backend):" docker-compose -f docker-compose.yml -f docker-compose.prod.yml logs --tail=20 backend || true echo "Recent logs (frontend):" docker-compose -f docker-compose.yml -f docker-compose.prod.yml logs --tail=20 frontend || true | |||
| echo - (89 ms in self) | Deployment failed. Check logs above. |