| Step | Arguments | Status | ||
|---|---|---|---|---|
| Start of Pipeline - (8 min 2 sec in block) | ||||
| node - (8 min 1 sec in block) | ||||
| node block - (8 min 0 sec in block) | ||||
| stage - (1.5 sec in block) | Declarative: Checkout SCM | |||
| stage block (Declarative: Checkout SCM) - (1.4 sec in block) | ||||
| checkout - (1.3 sec in self) | ||||
| withEnv - (7 min 59 sec in block) | GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_URL | |||
| withEnv block - (7 min 58 sec in block) | ||||
| withEnv - (7 min 58 sec in block) | COMPOSE_PROJECT_NAME | |||
| withEnv block - (7 min 58 sec in block) | ||||
| stage - (6 min 42 sec in block) | Build Images | |||
| stage block (Build Images) - (6 min 42 sec in block) | ||||
| echo - (30 ms in self) | Building Docker images... | |||
| sh - (6 min 41 sec in self) | cd ${WORKSPACE} docker-compose build --no-cache | |||
| stage - (2.7 sec in block) | Stop Old Containers | |||
| stage block (Stop Old Containers) - (2.4 sec in block) | ||||
| echo - (68 ms in self) | Stopping old containers... | |||
| sh - (2.2 sec in self) | cd ${WORKSPACE} docker-compose down || true | |||
| stage - (48 sec in block) | Start New Containers | |||
| stage block (Start New Containers) - (47 sec in block) | ||||
| echo - (36 ms in self) | Starting new containers... | |||
| sh - (47 sec in self) | cd ${WORKSPACE} docker-compose up -d | |||
| stage - (23 sec in block) | Health Check | |||
| stage block (Health Check) - (23 sec in block) | ||||
| echo - (0.13 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.7 sec in block) | Declarative: Post Actions | |||
| stage block (Declarative: Post Actions) - (1.5 sec in block) | ||||
| echo - (67 ms in self) | Pipeline execution completed | |||
| sh - (1.1 sec in self) | cd ${WORKSPACE} echo "Container status:" docker-compose ps || true echo "Recent logs (backend):" docker-compose logs --tail=20 backend || true echo "Recent logs (frontend):" docker-compose logs --tail=20 frontend || true | |||
| echo - (0.12 sec in self) | Deployment successful! |