diff options
Diffstat (limited to 'production/sdk/promotion/syncDropLocation.sh')
-rwxr-xr-x | production/sdk/promotion/syncDropLocation.sh | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/production/sdk/promotion/syncDropLocation.sh b/production/sdk/promotion/syncDropLocation.sh index e229544b7..9eb2bfd4e 100755 --- a/production/sdk/promotion/syncDropLocation.sh +++ b/production/sdk/promotion/syncDropLocation.sh @@ -122,31 +122,16 @@ function sendPromoteMail () link=$(linkURL ${downloadURL}testResults.php) message1="${message1}<p> Build logs and/or test results (eventually): <br />\n ${link}</p>\n" - BUILD_ROOT=${BUILD_HOME}/${eclipseStreamMajor}${buildType} eclipsebuilder=eclipse.platform.releng.aggregator/production/testScripts - dlFromPath=$( dlFromPath $eclipseStream $buildId ) - echo "DEBUG CBI dlFromPath: ${dlFromPath}" - buildDropDir="${BUILD_ROOT}/siteDir/${dlFromPath}/${buildId}" + echo "DEBGUG CBI buildDropDir: ${buildDropDir}" - builderDropLogsDir="${buildDropDir}/${comparatorLogRelPath}" echo "DEBUG: CBI builderDropLogsDir: ${builderDropLogsDir}" - aggr="${BUILD_ROOT}/gitcache/eclipse.platform.releng.aggregator" - -# another thing we need to capture from "build area", besides the artifactcomparison directories below, -# is the buildnotes_*.html files. -# TODO: all this "gathering" of stuff needs to move to the "gather" function, instead of -# here in "syncDropLocation"! - mkdir -p "${buildDropDir}/holdBuildNotes" - find $aggr -name "buildnotes_*.html" -exec rsync '{}' "${buildDropDir}/holdBuildNotes" \; if [[ $logSize -gt ${comparatorLogMinimumSize} ]] then - link=$(linkURL ${downloadURL}${comparatorLogRelPath}) - message1="${message1}<p> Check unanticipated comparator messages: <br />\n ${link}<p>\n" - # Plus, also zip up any artifactcomparison directories that exist in the target - # directories. - find $aggr -regex ".*target/artifactcomparison" -type d -exec zip -r ${builderDropLogsDir}/artifactcomparisons.zip '{}' \; - + link=$(linkURL ${downloadURL}${comparatorLogRelPath}) + echo -e "DEBUG: found logsize greater an minimum. preparing message using ${link}" + message1="${message1}<p> Check unanticipated comparator messages: <br />\n ${link}<p>\n" else echo -e "DEBUG: comparator logSize of $logSize was not greater than comparatorLogMinimumSize of ${comparatorLogMinimumSize}" fi |