Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SDawley committed Nov 24, 2022
1 parent fea7be4 commit 275148c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
1 change: 1 addition & 0 deletions JenkinsJobs/Releng/collectResults.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ devworkspace=${workspace}/workspace-antRunner
ssh genie.releng@projects-storage.eclipse.org ${javaCMD} -jar ${launcherJar} -nosplash -consolelog -debug -data $devworkspace -application org.eclipse.ant.core.antRunner -file ${workspace}/collectTestResults.xml \\
-DpostingDirectory=${dropsPath} \\
-Djob=${triggeringJob} \\
-DbuildURL=${buildURL} \\
-DbuildID=${buildID} \\
-DEBUILDER_HASH=${EBUILDER_HASH}
Expand Down
12 changes: 9 additions & 3 deletions cje-production/scripts/collectTestResults.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,19 @@
to="*" />
</unzip>

<!--<retry
<!-- This is needed for the summary table on the I-build download page -->
<property
name="jenkinsResultXML"
value="${jenkinsJobURL}/testReport/api/xml?tree=failCount,passCount,skipCount,duration" />
<echo message="jenkinsResultXML ${jenkinsResultXML} " />

<retry
retrycount="3"
retrydelay="1000">
<get
src="${jenkinsResultXML}"
dest="${resultsDir}/${job}-${buildNumber}.xml" />
</retry> -->
dest="${resultsDir}/${job}.xml" />
</retry>

<delete failonerror="false">
<fileset dir="${resultsDir}">
Expand Down
9 changes: 4 additions & 5 deletions scripts/collectResultsLocal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ fi
cd ${workspace}
git clone https://github.com/eclipse-platform/eclipse.platform.releng.aggregator.git
EBUILDERDIR=${workspace}/eclipse.platform.releng.aggregator/eclipse.platform.releng.tychoeclipsebuilder
#cd ${workspace}/eclipse.platform.releng.aggregator/eclipse.platform.releng.tychoeclipsebuilder/eclipse
#scp -r publishingFiles ${workspace}/publishingFiles
#cd ${workspace}

#triggering ant runner
baseBuilderDir=${workspace}/basebuilder
Expand All @@ -96,15 +93,17 @@ devworkspace=${workspace}/workspace-antRunner

java -jar ${launcherJar} -nosplash -consolelog -debug -data $devworkspace -application org.eclipse.ant.core.antRunner -file ${workspace}/collectTestResults.xml \
-DpostingDirectory=${postingDirectory} \
-Djob=${triggeringJob} \
-DbuildURL=${buildURL} \
-DbuildID=${buildID} \
-DEBUILDER_HASH=${EBUILDER_HASH}
-DEBuilderDir=${EBUILDERDIR}


devworkspace=${workspace}/workspace-updateTestResults

java -jar ${launcherJar} -nosplash -consolelog -debug -data $devworkspace -application org.eclipse.ant.core.antRunner -file ${workspace}/publish.xml \
-DpostingDirectory=${postingDirectory} \
-Djob=${triggeringJob} \
-DbuildID=${buildID} \
-DeclipseStream=${STREAM}
-DeclipseStream=${STREAM} \
-DEBuilderDir=${EBUILDERDIR}

0 comments on commit 275148c

Please sign in to comment.