SuccessConsole Output

Started by user Greg Watson
Running as Greg Watson
Obtained releng/org.eclipse.ptp.jenkins/promote-build.Jenkinsfile from git git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git
Running in Durability level: PERFORMANCE_OPTIMIZED
[Pipeline] Start of Pipeline
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor
Agent default-agent-0x1q5 is provisioned from template Kubernetes Pod Template
Agent specification [Kubernetes Pod Template] (null): 
* [jnlp] eclipsecbijenkins/jenkins-agent:3.29@sha256:90d0b4f1eaa744217d4cd5df8caef86dfc76ce4d38bba6bda6a40de4eb8307cd(resourceRequestCpu: 1000m, resourceRequestMemory: 4096Mi, resourceLimitCpu: 2000m, resourceLimitMemory: 4096Mi)
yaml:
apiVersion: v1
kind: Pod
spec:
  containers:
  - name: jnlp
    volumeMounts:
    - name: settings-xml
      mountPath: /home/jenkins/.m2/settings.xml
      subPath: settings.xml
      readOnly: true
    - name: toolchains-xml
      mountPath: /home/jenkins/.m2/toolchains.xml
      subPath: toolchains.xml
      readOnly: true
    - name: settings-security-xml
      mountPath: /home/jenkins/.m2/settings-security.xml
      subPath: settings-security.xml
      readOnly: true
  volumes:
  - name: settings-xml
    secret:
      secretName: m2-secret-dir
      items:
      - key: settings.xml
        path: settings.xml
  - name: toolchains-xml
    configMap:
      name: m2-dir
      items:
      - key: toolchains.xml
        path: toolchains.xml
  - name: settings-security-xml
    secret:
      secretName: m2-secret-dir
      items:
      - key: settings-security.xml
        path: settings-security.xml


Running on default-agent-0x1q5 in /home/jenkins/workspace/promote-build
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
No credentials specified
Cloning the remote Git repository
Cloning repository git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git
 > /usr/bin/git init /home/jenkins/workspace/promote-build # timeout=10
Fetching upstream changes from git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git
 > /usr/bin/git --version # timeout=10
 > /usr/bin/git fetch --tags --force --progress git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 7beabd6b13b2e197c1a8a9f9ed6bcbef76575c75 (refs/remotes/origin/master)
 > /usr/bin/git config remote.origin.url git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git # timeout=10
 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > /usr/bin/git config remote.origin.url git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git # timeout=10
Fetching upstream changes from git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git
 > /usr/bin/git fetch --tags --force --progress git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git +refs/heads/*:refs/remotes/origin/*
 > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f 7beabd6b13b2e197c1a8a9f9ed6bcbef76575c75
Commit message: "[releng] fix SSH command (add missing g)"
 > /usr/bin/git rev-list --no-walk 7beabd6b13b2e197c1a8a9f9ed6bcbef76575c75 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Upload)
[Pipeline] sshagent
[ssh-agent] Using credentials genie.ptp (ssh://genie.ptp@projects-storage.eclipse.org)
[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-jVbn4v8clXBH/agent.164
SSH_AGENT_PID=166
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/workspace/promote-build@tmp/private_key_9015858443212360383.key (/home/jenkins/workspace/promote-build@tmp/private_key_9015858443212360383.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] git
No credentials specified
Fetching changes from the remote Git repository
Checking out Revision 7beabd6b13b2e197c1a8a9f9ed6bcbef76575c75 (refs/remotes/origin/master)
Commit message: "[releng] fix SSH command (add missing g)"
[Pipeline] sh
 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
 > /usr/bin/git config remote.origin.url git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git # timeout=10
Fetching upstream changes from git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git
 > /usr/bin/git --version # timeout=10
 > /usr/bin/git fetch --tags --force --progress git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git +refs/heads/*:refs/remotes/origin/*
 > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f 7beabd6b13b2e197c1a8a9f9ed6bcbef76575c75
 > /usr/bin/git branch -a -v --no-abbrev # timeout=10
 > /usr/bin/git checkout -b master 7beabd6b13b2e197c1a8a9f9ed6bcbef76575c75
+ ./releng/org.eclipse.ptp.jenkins/promote-build.sh
+ SSH='ssh genie.ptp@projects-storage.eclipse.org'
+ DOWNLOAD=download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-M1
+ DOWNLOAD_MOUNT=/home/data/httpd/download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-M1
+ ARTIFACTS=https://ci.eclipse.org/ptp/job/ptp-build/374/artifact/
+ '[' ptp == ptp ']'
+ ARTIFACTS_REPO_TARGET=https://ci.eclipse.org/ptp/job/ptp-build/374/artifact//releng/org.eclipse.ptp.repo/target
+ echo Using download location root of https://download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-M1
Using download location root of https://download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-M1
+ echo Using artifacts location root of https://ci.eclipse.org/ptp/job/ptp-build/374/artifact/
Using artifacts location root of https://ci.eclipse.org/ptp/job/ptp-build/374/artifact/
+ echo Testing to make sure we are publishing to a new directory
Testing to make sure we are publishing to a new directory
+ ssh genie.ptp@projects-storage.eclipse.org 'test ! -e /home/data/httpd/download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-M1'
+ echo Testing to make sure artifacts location is sane
Testing to make sure artifacts location is sane
+ wget -q --output-document=/dev/null https://ci.eclipse.org/ptp/job/ptp-build/374/artifact//releng/org.eclipse.ptp.repo/target
+ ECHO=echo
+ '[' false == false ']'
+ ECHO=
+ ssh genie.ptp@projects-storage.eclipse.org 'mkdir -p /home/data/httpd/download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-M1'
+ ssh genie.ptp@projects-storage.eclipse.org 'cd /home/data/httpd/download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-M1 &&     wget -q https://ci.eclipse.org/ptp/job/ptp-build/374/artifact//releng/org.eclipse.ptp.repo/target/repository/*zip*/repository.zip &&     unzip -q repository.zip &&     mv repository/* . &&     rm -r repository repository.zip'
+ '[' false == false ']'
+ echo Release uploaded to https://download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-M1
Release uploaded to https://download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-M1
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 166 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS