Skip to content

Console Output

Push event to branch master
Started by GitLab push by Harald Mackamul
Querying the current revision of branch master...
Current revision of branch master is 99ebc8261e297ed074af8ddf3c2ccba089811417
Obtained Jenkinsfile from 99ebc8261e297ed074af8ddf3c2ccba089811417
[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 automotive/hugo-agent-qs804-n9033
Still waiting to schedule task
‘hugo-agent-qs804-n9033’ is offline
Agent hugo-agent-qs804-n9033 is provisioned from template hugo-agent-qs804
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.automotive.svc.cluster.local/automotive/job/build-and-publish-website-gitlab/job/master/9/"
    runUrl: "job/build-and-publish-website-gitlab/job/master/9/"
  labels:
    run: "hugo"
    jenkins: "slave"
    jenkins/label-digest: "7ac110df4066c009b519c7b03c365692b5eeb4d5"
    jenkins/label: "hugo-agent"
  name: "hugo-agent-qs804-n9033"
  namespace: "automotive"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.automotive.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "hugo-agent-qs804-n9033"
    - name: "JENKINS_NAME"
      value: "hugo-agent-qs804-n9033"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.automotive.svc.cluster.local/automotive/"
    - name: "HOME"
      value: "/home/jenkins/agent"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3107.v665000b_51092"
    name: "jnlp"
    resources:
      requests:
        memory: "256Mi"
        cpu: "100m"
    volumeMounts:
    - mountPath: "/home/jenkins/agent/.ssh"
      name: "volume-known-hosts"
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - command:
    - "cat"
    image: "eclipsecbi/hugo:0.42.1"
    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-qs804-n9033 in /home/jenkins/agent/workspace/nd-publish-website-gitlab_master
[Pipeline] {
[Pipeline] dir
Running in /home/jenkins/agent/workspace/nd-publish-website-gitlab_master/hugo
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential gitlab-bot-ssh
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository git@gitlab.eclipse.org:eclipse/automotive/website-source.git
 > git init /home/jenkins/agent/workspace/nd-publish-website-gitlab_master/hugo # timeout=10
Fetching upstream changes from git@gitlab.eclipse.org:eclipse/automotive/website-source.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
using GIT_SSH to set credentials GitLab bot (SSH)
[INFO] Currently running in a labeled security context
 > /usr/bin/chcon --type=ssh_home_t /home/jenkins/agent/workspace/nd-publish-website-gitlab_master/hugo@tmp/jenkins-gitclient-ssh7795758432868592550.key
Verifying host key using known hosts file
 > git fetch --no-tags --force --progress -- git@gitlab.eclipse.org:eclipse/automotive/website-source.git +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config remote.origin.url git@gitlab.eclipse.org:eclipse/automotive/website-source.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
Avoid second fetch
Checking out Revision 99ebc8261e297ed074af8ddf3c2ccba089811417 (master)
Commit message: "Added Code of conduct"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 99ebc8261e297ed074af8ddf3c2ccba089811417 # timeout=10
 > git rev-list --no-walk d1934a3714e045fa41c7cf84886d79c2c297bf4e # timeout=10
[GitLab Pipeline Status] Notifying branch build status: RUNNING build-and-publish-website-gitlab/master #9: Build started...
[GitLab Pipeline Status] Notified
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // dir
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout www repo)
[Pipeline] dir
Running in /home/jenkins/agent/workspace/nd-publish-website-gitlab_master/www
[Pipeline] {
[Pipeline] sshagent
[ssh-agent] Using credentials automotive-bot (GitLab 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-hiIjDxQDpL7v/agent.152
SSH_AGENT_PID=154
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/nd-publish-website-gitlab_master/www@tmp/private_key_15238332871583371151.key (automotive-bot@eclipse.org)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ git clone git@gitlab.eclipse.org:eclipse/automotive/automotive-website.git .
Cloning into '.'...
+ git checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 154 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build website (master) with Hugo)
[Pipeline] container
[Pipeline] {
[Pipeline] dir
Running in /home/jenkins/agent/workspace/nd-publish-website-gitlab_master/hugo/websites/www.eclipse.org-automotive-hugo/site
[Pipeline] {
[Pipeline] sh
+ hugo -b https://www.eclipse.org/automotive/
[?25lBuilding sites … [?25h

                   | EN  
+------------------+----+
  Pages            | 12  
  Paginator pages  |  0  
  Non-page files   |  0  
  Static files     |  3  
  Processed images |  0  
  Aliases          |  0  
  Sitemaps         |  1  
  Cleaned          |  0  

Total in 103 ms
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build website (staging) with Hugo)
Stage "Build website (staging) with Hugo" skipped due to when conditional
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Push to $env.BRANCH_NAME branch)
[Pipeline] sh
+ rm -rf www/404.html www/community www/css www/documentation www/images www/index.html www/index.xml www/news www/projects www/sitemap.xml
+ cp -Rvf hugo/websites/www.eclipse.org-automotive-hugo/site/public/404.html hugo/websites/www.eclipse.org-automotive-hugo/site/public/community hugo/websites/www.eclipse.org-automotive-hugo/site/public/css hugo/websites/www.eclipse.org-automotive-hugo/site/public/documentation hugo/websites/www.eclipse.org-automotive-hugo/site/public/images hugo/websites/www.eclipse.org-automotive-hugo/site/public/index.html hugo/websites/www.eclipse.org-automotive-hugo/site/public/index.xml hugo/websites/www.eclipse.org-automotive-hugo/site/public/news hugo/websites/www.eclipse.org-automotive-hugo/site/public/projects hugo/websites/www.eclipse.org-automotive-hugo/site/public/sitemap.xml www/
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/404.html' -> 'www/404.html'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/community' -> 'www/community'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/community/index.html' -> 'www/community/index.html'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/css' -> 'www/css'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/css/syntax.css' -> 'www/css/syntax.css'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/documentation' -> 'www/documentation'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/documentation/index.html' -> 'www/documentation/index.html'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/images' -> 'www/images'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/images/logo.svg' -> 'www/images/logo.svg'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/index.html' -> 'www/index.html'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/index.xml' -> 'www/index.xml'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/news' -> 'www/news'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/news/index.html' -> 'www/news/index.html'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/news/index.xml' -> 'www/news/index.xml'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/news/2021-11-30-release-2-0-0' -> 'www/news/2021-11-30-release-2-0-0'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/news/2021-11-30-release-2-0-0/index.html' -> 'www/news/2021-11-30-release-2-0-0/index.html'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/news/2022-11-30-release-3-3-0' -> 'www/news/2022-11-30-release-3-3-0'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/news/2022-11-30-release-3-3-0/index.html' -> 'www/news/2022-11-30-release-3-3-0/index.html'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/news/2021-07-31-release-1-2-0' -> 'www/news/2021-07-31-release-1-2-0'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/news/2021-07-31-release-1-2-0/index.html' -> 'www/news/2021-07-31-release-1-2-0/index.html'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/news/2021-04-30-release-1-1-0' -> 'www/news/2021-04-30-release-1-1-0'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/news/2021-04-30-release-1-1-0/index.html' -> 'www/news/2021-04-30-release-1-1-0/index.html'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/projects' -> 'www/projects'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/projects/index.html' -> 'www/projects/index.html'
'hugo/websites/www.eclipse.org-automotive-hugo/site/public/sitemap.xml' -> 'www/sitemap.xml'
[Pipeline] dir
Running in /home/jenkins/agent/workspace/nd-publish-website-gitlab_master/www
[Pipeline] {
[Pipeline] sshagent
[ssh-agent] Using credentials automotive-bot (GitLab 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-BnCpaARJyJ85/agent.191
SSH_AGENT_PID=193
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/nd-publish-website-gitlab_master/www@tmp/private_key_12299890604555977428.key (automotive-bot@eclipse.org)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ git add -A
+ git diff --cached --exit-code
+ echo 'No change have been detected since last build, nothing to publish'
No change have been detected since last build, nothing to publish
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 193 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
[GitLab Pipeline Status] Notifying branch build status: SUCCESS build-and-publish-website-gitlab/master #9: This commit looks good.
[GitLab Pipeline Status] Notified
Finished: SUCCESS