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