Revert "debug -> info"
This reverts commit c96957095c62138049d3cc9655056c7db38c316e.
diff --git a/hudson-scripts/init/3_update-site-publish.sh b/hudson-scripts/init/3_update-site-publish.sh
index 97abecc..f5b5b3f 100644
--- a/hudson-scripts/init/3_update-site-publish.sh
+++ b/hudson-scripts/init/3_update-site-publish.sh
@@ -37,10 +37,10 @@
local absolutePathToLatest=$( streamLatestAbsolutePath "${updateHome}" "${stream}" )
local latestUpdateSite=$( echo ${updateSitesInStream[@]} | tr ' ' '\n' | sort | tail -n 1 )
local relpath=$( relativize ${absolutePathToLatest} ${updateHome}/${latestUpdateSite} )
- LSINFO "Creating redirection from '${absolutePathToLatest}' to '${relpath}'"
+ LSDEBUG "Creating redirection from '${absolutePathToLatest}' to '${relpath}'"
createRedirect "${absolutePathToLatest}" "${relpath}" "${latestRepoLabel}"
else
- LSINFO "No folder in '${updateHome}' have a name that start with '${stream}' and that match the regex '[0-9]+\.[0-9]+\.[0-9]+.*'."
+ LSDEBUG "No folder in '${updateHome}' have a name that start with '${stream}' and that match the regex '[0-9]+\.[0-9]+\.[0-9]+.*'."
fi
}
@@ -54,7 +54,7 @@
local _streamAbsolutePath=$( streamAbsolutePath "${updateHome}" "${stream}" )
local relativePathToUpdateSite=$( relativize "${_streamAbsolutePath}" "${updateHome}/${qualifiedVersion}" )
- LSINFO "Adding '${relativePathToUpdateSite}' to composite repository '$(streamLabel "${stream}")'"
+ LSDEBUG "Adding '${relativePathToUpdateSite}' to composite repository '$(streamLabel "${stream}")'"
compositeRepository \
-location "${_streamAbsolutePath}" \
-add "${relativePathToUpdateSite}" \
@@ -62,7 +62,7 @@
-compressed
createP2Index "${_streamAbsolutePath}"
- LSINFO "Updating latest link of ${category} stream '$(streamLabel "${stream}")'"
+ LSDEBUG "Updating latest link of ${category} stream '$(streamLabel "${stream}")'"
_updateLatestUpdateSite "${updateHome}" "${stream}" $(streamLatestRepositoryLabel "${projectName}" "${category}" "${stream}")
}
@@ -80,7 +80,7 @@
_retrieveZippedArtifact "${artifactURL}" "${wd}/${targetUpdateSiteName}.zip" "${wd}/${targetUpdateSiteName}"
if [ ! -d "${updateHome}/${qualifiedVersion}" ]; then
- LSINFO "Creating folder '${updateHome}/${qualifiedVersion}'"
+ LSDEBUG "Creating folder '${updateHome}/${qualifiedVersion}'"
mkdir -p "${updateHome}/${qualifiedVersion}"
fi
diff --git a/hudson-scripts/init/_0_log.sh b/hudson-scripts/init/_0_log.sh
index be60dd7..c4710c5 100644
--- a/hudson-scripts/init/_0_log.sh
+++ b/hudson-scripts/init/_0_log.sh
@@ -83,7 +83,7 @@
local start=0
fi
# starts at 3 to skips LSCALLSTACK and __onErr, the last one in arrays
- # for ((i=$start; i<${FRAMES}-1; i++)); do
+ # for ((i=$start; i<FRAMES-1; i++)); do
# echo ' File' \"${BASH_SOURCE[i+1]}\", line ${BASH_LINENO[i]}, in ${FUNCNAME[i+1]} >> "${LS_OUTPUT}"
# Grab the source code of the line
# sed -E -n ${BASH_LINENO[i]}'s/^[:space:]*/ /p' "${BASH_SOURCE[i+1]}" >> "${LS_OUTPUT}"