Started by an SCM change
Obtained ci/Jenkinsfile.platform from git https://github.com/younex1/deploy-younex-web.git
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/paas-platform
[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 younex1
Cloning the remote Git repository
Cloning repository https://github.com/younex1/deploy-younex-web.git
> git init /var/lib/jenkins/workspace/paas-platform # timeout=10
Fetching upstream changes from https://github.com/younex1/deploy-younex-web.git
> git --version # timeout=10
> git --version # 'git version 2.39.5'
using GIT_ASKPASS to set credentials Token Github
> git fetch --tags --force --progress -- https://github.com/younex1/deploy-younex-web.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/younex1/deploy-younex-web.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
> git rev-parse refs/remotes/origin/main^{commit} # timeout=10
Checking out Revision 9db08e65eb864ef856e36523455db70a51eca560 (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 9db08e65eb864ef856e36523455db70a51eca560 # timeout=10
Commit message: "ci: Jenkins job deploys the platform to production on push (paas-self-deploy)"
First time build. Skipping changelog.
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential younex1
> git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/paas-platform/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/younex1/deploy-younex-web.git # timeout=10
Fetching upstream changes from https://github.com/younex1/deploy-younex-web.git
> git --version # timeout=10
> git --version # 'git version 2.39.5'
using GIT_ASKPASS to set credentials Token Github
> git fetch --tags --force --progress -- https://github.com/younex1/deploy-younex-web.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/main^{commit} # timeout=10
Checking out Revision 9db08e65eb864ef856e36523455db70a51eca560 (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 9db08e65eb864ef856e36523455db70a51eca560 # timeout=10
Commit message: "ci: Jenkins job deploys the platform to production on push (paas-self-deploy)"
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ git rev-parse --short HEAD
[Pipeline] sh
+ git log -1 --pretty=%s
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Lint)
[Pipeline] sh
+ set -e
+ [ -f bootstrap.sh ]
+ head -1 bootstrap.sh
+ grep -q bash
+ bash -n bootstrap.sh
+ [ -f bin/paas ]
+ head -1 bin/paas
+ grep -q bash
+ bash -n bin/paas
+ [ -f bin/paas-cert-prune ]
+ head -1 bin/paas-cert-prune
+ grep -q bash
+ bash -n bin/paas-cert-prune
+ [ -f bin/paas-clicks-writeback ]
+ head -1 bin/paas-clicks-writeback
+ grep -q bash
+ [ -f bin/paas-geoip-refresh ]
+ head -1 bin/paas-geoip-refresh
+ grep -q bash
+ bash -n bin/paas-geoip-refresh
+ [ -f bin/paas-google-crawlers-refresh ]
+ head -1 bin/paas-google-crawlers-refresh
+ grep -q bash
+ bash -n bin/paas-google-crawlers-refresh
+ [ -f bin/paas-init ]
+ head -1 bin/paas-init
+ grep -q bash
+ bash -n bin/paas-init
+ [ -f bin/paas-laravel-scheduler ]
+ head -1 bin/paas-laravel-scheduler
+ grep -q bash
+ bash -n bin/paas-laravel-scheduler
+ [ -f bin/paas-traffic-rollup ]
+ head -1 bin/paas-traffic-rollup
+ grep -q bash
+ [ -f infra/generalize-golden.sh ]
+ head -1 infra/generalize-golden.sh
+ grep -q bash
+ bash -n infra/generalize-golden.sh
+ [ -f infra/provision-vm.sh ]
+ head -1 infra/provision-vm.sh
+ grep -q bash
+ bash -n infra/provision-vm.sh
+ [ -f infra/setup-ci-deploy.sh ]
+ head -1 infra/setup-ci-deploy.sh
+ grep -q bash
+ bash -n infra/setup-ci-deploy.sh
+ [ -f infra/paas-self-deploy ]
+ head -1 infra/paas-self-deploy
+ grep -q bash
+ bash -n infra/paas-self-deploy
+ [ -f infra/paas-ci-ssh ]
+ head -1 infra/paas-ci-ssh
+ grep -q bash
+ bash -n infra/paas-ci-ssh
+ command -v shellcheck
+ echo shellcheck not installed on this agent — skipped
shellcheck not installed on this agent — skipped
+ command -v node
+ echo node not installed on this agent — skipped (checked again on the server)
node not installed on this agent — skipped (checked again on the server)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy)
[Pipeline] withCredentials
Masking supported pattern matches of $SSH_KEY
[Pipeline] {
[Pipeline] sh
Warning: Permanently added '192.168.13.10' (ED25519) to the list of known hosts.
deploy@192.168.13.10: Permission denied (publickey).
tar: Child returned status 141
tar: Error is not recoverable: exiting now
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] echo
Platform deploy FAILED for 9db08e6. On the server: ssh younes@192.168.13.10 'sudo paas-self-deploy status' / 'sudo paas-self-deploy rollback'
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 255
Finished: FAILURE