Started by an SCM change
Running as SYSTEM
Agent basic-fhmk1 is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
labels:
jenkins: "slave"
jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
jenkins/label: "basic"
name: "basic-fhmk1"
namespace: "justj"
spec:
containers:
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.justj.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "basic-fhmk1"
- name: "JENKINS_REMOTING_JAVA_OPTS"
value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\
\ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true"
- name: "JAVA_TOOL_OPTIONS"
value: ""
- name: "_JAVA_OPTIONS"
value: ""
- name: "OPENJ9_JAVA_OPTIONS"
value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle"
- name: "JENKINS_NAME"
value: "basic-fhmk1"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.justj.svc.cluster.local/justj/"
image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3160.vd76b_9ddd10cc"
imagePullPolicy: "Always"
name: "jnlp"
resources:
limits:
cpu: "2000m"
memory: "4096Mi"
requests:
cpu: "1000m"
memory: "4096Mi"
tty: true
volumeMounts:
- mountPath: "/home/jenkins/.m2/toolchains.xml"
name: "m2-dir"
readOnly: true
subPath: "toolchains.xml"
- mountPath: "/home/jenkins/.mavenrc"
name: "m2-dir"
readOnly: true
subPath: ".mavenrc"
- mountPath: "/opt/tools"
name: "volume-0"
readOnly: false
- mountPath: "/home/jenkins"
name: "volume-2"
readOnly: false
- mountPath: "/home/jenkins/.m2/repository"
name: "volume-3"
readOnly: false
- mountPath: "/home/jenkins/.m2/settings-security.xml"
name: "m2-secret-dir"
readOnly: true
subPath: "settings-security.xml"
- mountPath: "/home/jenkins/.m2/wrapper"
name: "volume-4"
readOnly: false
- mountPath: "/home/jenkins/.m2/settings.xml"
name: "m2-secret-dir"
readOnly: true
subPath: "settings.xml"
- mountPath: "/home/jenkins/.ssh"
name: "volume-1"
readOnly: false
subPath: ""
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
workingDir: "/home/jenkins/agent"
nodeSelector:
kubernetes.io/os: "linux"
restartPolicy: "Never"
volumes:
- name: "volume-0"
persistentVolumeClaim:
claimName: "tools-claim-jiro-justj"
readOnly: true
- name: "m2-secret-dir"
secret:
secretName: "m2-secret-dir"
- emptyDir:
medium: ""
name: "volume-2"
- configMap:
name: "m2-dir"
name: "m2-dir"
- configMap:
name: "known-hosts"
name: "volume-1"
- emptyDir:
medium: ""
name: "workspace-volume"
- emptyDir:
medium: ""
name: "volume-4"
- emptyDir:
medium: ""
name: "volume-3"
Building remotely on basic-fhmk1 (basic) in workspace /home/jenkins/agent/workspace/promote-website
[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-omZAKhGgQRVP/agent.48
SSH_AGENT_PID=50
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/promote-website@tmp/private_key_3492560704888886078.key (/home/jenkins/agent/workspace/promote-website@tmp/private_key_3492560704888886078.key)
[ssh-agent] Using credentials genie.justj (ssh://genie.justj@projects-storage.eclipse.org)
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/eclipse-justj/justj-website.git
> git init /home/jenkins/agent/workspace/promote-website # timeout=10
Fetching upstream changes from https://github.com/eclipse-justj/justj-website.git
> git --version # timeout=10
> git --version # 'git version 2.20.1'
> git fetch --tags --force --progress -- https://github.com/eclipse-justj/justj-website.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/eclipse-justj/justj-website.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/master^{commit} # timeout=10
Checking out Revision f50bc1a73fc09b363731affc3f0e36e6af2033f4 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f f50bc1a73fc09b363731affc3f0e36e6af2033f4 # timeout=10
Commit message: "Document specifying the -promote source repository as a URL"
> git rev-list --no-walk e2bfd7f2eb51b2e238f273b643db1a7367ea7e83 # timeout=10
[promote-website] $ /bin/sh -xe /tmp/jenkins14657360665901177527.sh
+ echo 'Build triggered'
Build triggered
+ ls
content
download.eclipse.org.php
icons
_index.php
index.php
justj_favicon.ico
justj_incubation.svg
justj.svg
justj_title.svg
_.php
_projectCommon.php
+ ssh genie.justj@projects-storage.eclipse.org '
cd /home/data/httpd/download.eclipse.org/justj/;
rm -rf www.new www.old;
mkdir www.new;
cd /home/data/httpd/archive.eclipse.org/justj/;
rm -rf www.new www.old;
mkdir www.new;
'
+ rsync -avsh content download.eclipse.org.php icons _index.php index.php justj_favicon.ico justj_incubation.svg justj.svg justj_title.svg _.php _projectCommon.php genie.justj@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/justj/www.new
sending incremental file list
_.php
_index.php
_projectCommon.php
download.eclipse.org.php
index.php
justj.svg
justj_favicon.ico
justj_incubation.svg
justj_title.svg
content/
content/browse.php
content/developer.php
content/documentation.php
content/download.php
content/en_index.php
content/overview.php
content/support.php
content/tools.php
content/setup-images/
content/setup-images/DebugMenu.png
content/setup-images/ExternalToolsMenu.png
content/setup-images/Generate.png
content/setup-images/GenerateJustJJRESiteMenu.png
content/setup-images/JETEditor.png
content/setup-images/JREGenFolder.png
content/setup-images/JREGenModelEditor.png
content/setup-images/LocalCache.png
content/setup-images/PerformSetupTasks.png
content/setup-images/Performing.png
content/setup-images/Reconcile.png
content/setup-images/ReconciledModel.png
content/setup-images/SetupVariables.png
content/setup-images/SetupVariablesForBootstrap.png
content/setup-images/WorkspaceProjects.png
icons/
icons/delete.svg
icons/edit.svg
icons/file.svg
icons/folder.svg
icons/new_file.svg
icons/new_folder.svg
icons/new_index.svg
icons/tools.svg
sent 834.70K bytes received 804 bytes 1.67M bytes/sec
total size is 831.69K speedup is 1.00
+ rsync -avsh _index.php genie.justj@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/justj/index.php
sending incremental file list
_index.php
sent 112 bytes received 41 bytes 102.00 bytes/sec
total size is 530 speedup is 3.46
+ mv download.eclipse.org.php archive.eclipse.org.php
++ find . -name '*.php'
+ for i in $(find . -name "*.php")
+ sed 's/download.eclipse.org/archive.eclipse.org/g;s/"Downloads"/"Archives"/g'
+ mv ./_.php.modified ./_.php
+ for i in $(find . -name "*.php")
+ sed 's/download.eclipse.org/archive.eclipse.org/g;s/"Downloads"/"Archives"/g'
+ mv ./_index.php.modified ./_index.php
+ for i in $(find . -name "*.php")
+ sed 's/download.eclipse.org/archive.eclipse.org/g;s/"Downloads"/"Archives"/g'
+ mv ./_projectCommon.php.modified ./_projectCommon.php
+ for i in $(find . -name "*.php")
+ sed 's/download.eclipse.org/archive.eclipse.org/g;s/"Downloads"/"Archives"/g'
+ mv ./content/browse.php.modified ./content/browse.php
+ for i in $(find . -name "*.php")
+ sed 's/download.eclipse.org/archive.eclipse.org/g;s/"Downloads"/"Archives"/g'
+ mv ./content/developer.php.modified ./content/developer.php
+ for i in $(find . -name "*.php")
+ sed 's/download.eclipse.org/archive.eclipse.org/g;s/"Downloads"/"Archives"/g'
+ mv ./content/documentation.php.modified ./content/documentation.php
+ for i in $(find . -name "*.php")
+ sed 's/download.eclipse.org/archive.eclipse.org/g;s/"Downloads"/"Archives"/g'
+ mv ./content/download.php.modified ./content/download.php
+ for i in $(find . -name "*.php")
+ sed 's/download.eclipse.org/archive.eclipse.org/g;s/"Downloads"/"Archives"/g'
+ mv ./content/en_index.php.modified ./content/en_index.php
+ for i in $(find . -name "*.php")
+ sed 's/download.eclipse.org/archive.eclipse.org/g;s/"Downloads"/"Archives"/g'
+ mv ./content/overview.php.modified ./content/overview.php
+ for i in $(find . -name "*.php")
+ sed 's/download.eclipse.org/archive.eclipse.org/g;s/"Downloads"/"Archives"/g'
+ mv ./content/support.php.modified ./content/support.php
+ for i in $(find . -name "*.php")
+ sed 's/download.eclipse.org/archive.eclipse.org/g;s/"Downloads"/"Archives"/g'
+ mv ./content/tools.php.modified ./content/tools.php
+ for i in $(find . -name "*.php")
+ sed 's/download.eclipse.org/archive.eclipse.org/g;s/"Downloads"/"Archives"/g'
+ mv ./index.php.modified ./index.php
+ for i in $(find . -name "*.php")
+ sed 's/download.eclipse.org/archive.eclipse.org/g;s/"Downloads"/"Archives"/g'
+ mv ./archive.eclipse.org.php.modified ./archive.eclipse.org.php
+ rsync -avsh archive.eclipse.org.php content icons _index.php index.php justj_favicon.ico justj_incubation.svg justj.svg justj_title.svg _.php _projectCommon.php genie.justj@projects-storage.eclipse.org:/home/data/httpd/archive.eclipse.org/justj/www.new
sending incremental file list
_.php
_index.php
_projectCommon.php
archive.eclipse.org.php
index.php
justj.svg
justj_favicon.ico
justj_incubation.svg
justj_title.svg
content/
content/browse.php
content/developer.php
content/documentation.php
content/download.php
content/en_index.php
content/overview.php
content/support.php
content/tools.php
content/setup-images/
content/setup-images/DebugMenu.png
content/setup-images/ExternalToolsMenu.png
content/setup-images/Generate.png
content/setup-images/GenerateJustJJRESiteMenu.png
content/setup-images/JETEditor.png
content/setup-images/JREGenFolder.png
content/setup-images/JREGenModelEditor.png
content/setup-images/LocalCache.png
content/setup-images/PerformSetupTasks.png
content/setup-images/Performing.png
content/setup-images/Reconcile.png
content/setup-images/ReconciledModel.png
content/setup-images/SetupVariables.png
content/setup-images/SetupVariablesForBootstrap.png
content/setup-images/WorkspaceProjects.png
icons/
icons/delete.svg
icons/edit.svg
icons/file.svg
icons/folder.svg
icons/new_file.svg
icons/new_folder.svg
icons/new_index.svg
icons/tools.svg
sent 834.62K bytes received 804 bytes 1.67M bytes/sec
total size is 831.60K speedup is 1.00
+ rsync -avsh _index.php genie.justj@projects-storage.eclipse.org:/home/data/httpd/archive.eclipse.org/justj/index.php
sending incremental file list
_index.php
sent 111 bytes received 41 bytes 304.00 bytes/sec
total size is 526 speedup is 3.46
+ ssh genie.justj@projects-storage.eclipse.org '
cd /home/data/httpd/download.eclipse.org/justj/;
[[ -d www ]] && mv www www.old;
mv www.new www;
rm -rf www.old;
cd /home/data/httpd/archive.eclipse.org/justj/;
[[ -d www ]] && mv www www.old;
mv www.new www;
rm -rf www.old;
'
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 50 killed;
[ssh-agent] Stopped.
Finished: SUCCESS