Started by an SCM change
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 2431a95989a0d3e7c03dc453d07b35dda84a2a18 (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 2431a95989a0d3e7c03dc453d07b35dda84a2a18 # timeout=10
Commit message: "Fix Jenkinsfile: Remove redundant checkout step"
> git rev-list --no-walk 76396467afb2d365d6308b1b9fc074390eee9c2b # 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
+ docker run --rm -v /home/geeplo:/host alpine sh -c mkdir -p /host/deploy/juntete
Unable to find image 'alpine:latest' locally
latest: Pulling from library/alpine
6b59a28fa201: Already exists
Digest: sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412
Status: Downloaded newer image for alpine:latest
+ docker run --rm -v /var/jenkins_home/workspace/juntete-deploy:/source -v /home/geeplo/deploy/juntete:/dest alpine sh -c cp -r /source/* /dest/
cp: can't stat '/source/*': No such file or directory
[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 ]
+ echo Deploy directory not found (first run?)
Deploy directory not found (first run?)
[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 1
Finished: FAILURE