Started by user Admin User
Obtained Jenkinsfile from git https://github.com/DrPersico/juntete.git
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/juntete-deploy
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential f048d47c-1ea1-4dc6-b81c-f1ec032f0d77
> git rev-parse --resolve-git-dir /var/jenkins_home/workspace/juntete-deploy/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/DrPersico/juntete.git # timeout=10
Fetching upstream changes from https://github.com/DrPersico/juntete.git
> git --version # timeout=10
> git --version # 'git version 2.47.3'
using GIT_ASKPASS to set credentials Github
> git fetch --tags --force --progress -- https://github.com/DrPersico/juntete.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/main^{commit} # timeout=10
Checking out Revision c30a0bf4a6db8ef60b2fcb00f395de19f77987d5 (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f c30a0bf4a6db8ef60b2fcb00f395de19f77987d5 # timeout=10
Commit message: "Update Jenkinsfile"
> git rev-list --no-walk c30a0bf4a6db8ef60b2fcb00f395de19f77987d5 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Prepare Deploy Directory)
[Pipeline] echo
Preparing deployment directory on host...
[Pipeline] sh
+ mkdir -p /home/geeplo/deploy/juntete
+ rsync -av --delete --exclude=.git --exclude=node_modules --exclude=__pycache__ /var/jenkins_home/workspace/juntete-deploy/ /home/geeplo/deploy/juntete/
/var/jenkins_home/workspace/juntete-deploy@tmp/durable-73824221/script.sh.copy: 6: rsync: not found
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build Images)
Stage "Build Images" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Stop Old Containers)
Stage "Stop Old Containers" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Start New Containers)
Stage "Start New Containers" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Health Check)
Stage "Health Check" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] echo
Pipeline execution completed
[Pipeline] sh
+ [ -d /home/geeplo/deploy/juntete ]
+ cd /home/geeplo/deploy/juntete
+ echo Container status:
Container status:
+ docker-compose ps
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
+ echo Recent logs (backend):
Recent logs (backend):
+ docker-compose logs --tail=20 backend
+ echo Recent logs (frontend):
Recent logs (frontend):
+ docker-compose logs --tail=20 frontend
[Pipeline] echo
Deployment failed. Check logs above.
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 127
Finished: FAILURE