Skip to content

Console Output

+ umask 0002
+ mkdir -p /home/jenkins/scripts
+ pushd /home/jenkins/scripts
/home/jenkins/scripts /home/jenkins/agent/workspace/promote-to-downloads
+ curl -L -O https://download.eclipse.org/tools/orbit/commonFiles/cpp2c-jiro.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  2966  100  2966    0     0   111k      0 --:--:-- --:--:-- --:--:--  111k
+ chmod u+x cpp2c-jiro.sh
+ popd
/home/jenkins/agent/workspace/promote-to-downloads
+ . /home/jenkins/scripts/cpp2c-jiro.sh
+ ORBIT_ROOT=/home/data/httpd/download.eclipse.org/tools/orbit
+ mkdir -p I-builds/I20220329215527/ downloads/drops
+ pushd I-builds/I20220329215527/
/home/jenkins/agent/workspace/promote-to-downloads/I-builds/I20220329215527 /home/jenkins/agent/workspace/promote-to-downloads
+ scp -r 'genie.orbit@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/tools/orbit/I-builds/I20220329215527//*' .
+ popd
/home/jenkins/agent/workspace/promote-to-downloads
+ cpp2c I-builds/I20220329215527/ downloads/drops
+ src=I-builds/I20220329215527/
+ target=downloads/drops
+ newname=
+ suffix=repository
+ '[' '!' -e I-builds/I20220329215527/ ']'
+ '[' '!' -e downloads/drops ']'
+ build=downloads/drops
+ '[' -z '' ']'
++ basename I-builds/I20220329215527/
+ build=downloads/drops/I20220329215527
+ srcisrepo=0
+ '[' -e downloads/drops/I20220329215527 ']'
+ mkdir -p downloads/drops/I20220329215527
+ cp -rp I-builds/I20220329215527//checksum I-builds/I20220329215527//index.html I-builds/I20220329215527//orbit-buildrepo-I20220329215527.zip I-builds/I20220329215527//reporeports I-builds/I20220329215527//repository downloads/drops/I20220329215527
+ for repo in compositeContent.xml compositeArtifacts.xml
+++ find I-builds/I20220329215527/ -name compositeContent.xml
++ xmllint -xpath /repository/children/child/@location I-builds/I20220329215527/repository/compositeContent.xml
+ children=' location="../../../downloads/drops/R20201118194144/repository" location="../../../downloads/drops2/I20220329215527/repository"'
+ for child in ${children}
++ echo 'location="../../../downloads/drops/R20201118194144/repository"'
++ cut '-d"' -f2
+ childLoc=../../../downloads/drops/R20201118194144/repository
+ '[' 0 -eq 1 ']'
+++ find downloads/drops/I20220329215527 -type d -name repository
+++ find I-builds/I20220329215527/ -type d -name repository
++ realpath -m --relative-to=downloads/drops/I20220329215527/repository I-builds/I20220329215527/repository/../../../downloads/drops/R20201118194144/repository
+ newChildLoc=../../R20201118194144/repository
++ find downloads/drops/I20220329215527 -name compositeContent.xml
+ sed -i 's|../../../downloads/drops/R20201118194144/repository|../../R20201118194144/repository|g' downloads/drops/I20220329215527/repository/compositeContent.xml
+ for child in ${children}
++ echo 'location="../../../downloads/drops2/I20220329215527/repository"'
++ cut '-d"' -f2
+ childLoc=../../../downloads/drops2/I20220329215527/repository
+ '[' 0 -eq 1 ']'
+++ find downloads/drops/I20220329215527 -type d -name repository
+++ find I-builds/I20220329215527/ -type d -name repository
++ realpath -m --relative-to=downloads/drops/I20220329215527/repository I-builds/I20220329215527/repository/../../../downloads/drops2/I20220329215527/repository
+ newChildLoc=../../../drops2/I20220329215527/repository
++ find downloads/drops/I20220329215527 -name compositeContent.xml
+ sed -i 's|../../../downloads/drops2/I20220329215527/repository|../../../drops2/I20220329215527/repository|g' downloads/drops/I20220329215527/repository/compositeContent.xml
+ for repo in compositeContent.xml compositeArtifacts.xml
+++ find I-builds/I20220329215527/ -name compositeArtifacts.xml
++ xmllint -xpath /repository/children/child/@location I-builds/I20220329215527/repository/compositeArtifacts.xml
+ children=' location="../../../downloads/drops/R20201118194144/repository" location="../../../downloads/drops2/I20220329215527/repository"'
+ for child in ${children}
++ echo 'location="../../../downloads/drops/R20201118194144/repository"'
++ cut '-d"' -f2
+ childLoc=../../../downloads/drops/R20201118194144/repository
+ '[' 0 -eq 1 ']'
+++ find downloads/drops/I20220329215527 -type d -name repository
+++ find I-builds/I20220329215527/ -type d -name repository
++ realpath -m --relative-to=downloads/drops/I20220329215527/repository I-builds/I20220329215527/repository/../../../downloads/drops/R20201118194144/repository
+ newChildLoc=../../R20201118194144/repository
++ find downloads/drops/I20220329215527 -name compositeArtifacts.xml
+ sed -i 's|../../../downloads/drops/R20201118194144/repository|../../R20201118194144/repository|g' downloads/drops/I20220329215527/repository/compositeArtifacts.xml
+ for child in ${children}
++ echo 'location="../../../downloads/drops2/I20220329215527/repository"'
++ cut '-d"' -f2
+ childLoc=../../../downloads/drops2/I20220329215527/repository
+ '[' 0 -eq 1 ']'
+++ find downloads/drops/I20220329215527 -type d -name repository
+++ find I-builds/I20220329215527/ -type d -name repository
++ realpath -m --relative-to=downloads/drops/I20220329215527/repository I-builds/I20220329215527/repository/../../../downloads/drops2/I20220329215527/repository
+ newChildLoc=../../../drops2/I20220329215527/repository
++ find downloads/drops/I20220329215527 -name compositeArtifacts.xml
+ sed -i 's|../../../downloads/drops2/I20220329215527/repository|../../../drops2/I20220329215527/repository|g' downloads/drops/I20220329215527/repository/compositeArtifacts.xml
+ '[' -z '' ']'
+ echo 1
+ '[' -e downloads/drops/I20220329215527/index.html ']'
+ sed -i '/For HTTP access/ s|[NISR]-builds|downloads/drops|g' downloads/drops/I20220329215527/index.html
+ sed -i 's|\.\./\.\./commonFiles|\.\./\.\./\.\./commonFiles|g' downloads/drops/I20220329215527/index.html
+ scp -r downloads/drops/I20220329215527 genie.orbit@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/tools/orbit/downloads/drops