Push event to branch staging 15:10:35 Connecting to https://api.github.com using GitHub bot (username/token) Obtained Jenkinsfile from d0323bf76425b87c9818659908cee72a0305f7ec [Pipeline] Start of Pipeline [Pipeline] echo [WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option. [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes windowbuilder/hugo-agent-gkjv8-ftm2p Still waiting to schedule task ‘hugo-agent-gkjv8-ftm2p’ is offline Agent hugo-agent-gkjv8-ftm2p is provisioned from template hugo-agent-gkjv8 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins-ui.windowbuilder.svc.cluster.local/windowbuilder/job/website/job/staging/16/" runUrl: "job/website/job/staging/16/" labels: run: "hugo" jenkins: "slave" jenkins/label-digest: "7ac110df4066c009b519c7b03c365692b5eeb4d5" jenkins/label: "hugo-agent" name: "hugo-agent-gkjv8-ftm2p" namespace: "windowbuilder" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.windowbuilder.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "hugo-agent-gkjv8-ftm2p" - name: "JENKINS_NAME" value: "hugo-agent-gkjv8-ftm2p" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.windowbuilder.svc.cluster.local/windowbuilder/" - name: "HOME" value: "/home/jenkins" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3160.vd76b_9ddd10cc" name: "jnlp" resources: requests: memory: "256Mi" cpu: "100m" volumeMounts: - mountPath: "/home/jenkins/.ssh" name: "volume-known-hosts" - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - command: - "cat" image: "eclipsecbi/hugo_extended:0.110.0" name: "hugo" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false nodeSelector: kubernetes.io/os: "linux" restartPolicy: "Never" volumes: - emptyDir: medium: "" name: "workspace-volume" - configMap: name: "known-hosts" name: "volume-known-hosts" Running on hugo-agent-gkjv8-ftm2p in /home/jenkins/agent/workspace/website_staging [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/website_staging/hugo [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential github-bot Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/eclipse-windowbuilder/windowbuilder-website-source.git > git init /home/jenkins/agent/workspace/website_staging/hugo # timeout=10 Fetching upstream changes from https://github.com/eclipse-windowbuilder/windowbuilder-website-source.git > git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials GitHub bot (username/token) > git fetch --no-tags --force --progress -- https://github.com/eclipse-windowbuilder/windowbuilder-website-source.git +refs/heads/staging:refs/remotes/origin/staging # timeout=10 > git config remote.origin.url https://github.com/eclipse-windowbuilder/windowbuilder-website-source.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/staging:refs/remotes/origin/staging # timeout=10 Avoid second fetch Checking out Revision d0323bf76425b87c9818659908cee72a0305f7ec (staging) > git config core.sparsecheckout # timeout=10 > git checkout -f d0323bf76425b87c9818659908cee72a0305f7ec # timeout=10 Commit message: "Migrate current WindowBuilder website from php to Hugo/HTML" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk b06cb46b5140cb439ce98deaac1f9caaad611931 # timeout=10 [Pipeline] } [Pipeline] // dir [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 1 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Checkout www repo) [Pipeline] dir Running in /home/jenkins/agent/workspace/website_staging/www [Pipeline] { [Pipeline] sshagent [ssh-agent] Using credentials eclipse-windowbuilder-bot (GitHub bot (SSH)) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-IZNOiB9XyVUL/agent.137 SSH_AGENT_PID=139 Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/website_staging/www@tmp/private_key_16297483414119958136.key (windowbuilder-bot@eclipse.org) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git clone git@github.com:eclipse-windowbuilder/windowbuilder-website.git . Cloning into '.'... + git checkout staging Switched to a new branch 'staging' Branch 'staging' set up to track remote branch 'staging' from 'origin'. [Pipeline] } $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 139 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build website ${env.BRANCH_NAME} with Hugo) [Pipeline] container [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/website_staging/hugo [Pipeline] { [Pipeline] sh + git branch /home/jenkins/agent/workspace/website_staging/hugo@tmp/durable-2d1db742/script.sh: line 1: git: not found [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Push to ${env.BRANCH_NAME} branch) Stage "Push to ${env.BRANCH_NAME} branch" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline ERROR: script returned exit code 127 GitHub has been notified of this commit’s build result Finished: FAILURE