Add start time header to build_commits.csv.
This commit is contained in:
parent
6c6a292cac
commit
da41ff2929
|
@ -120,7 +120,8 @@ pipeline {
|
|||
mv "${AGENT_ROOT_FOLDER}/settings.xml" "${AGENT_ROOT_FOLDER}/settings.${PIPELINE_BUILD_NUMBER}"
|
||||
cp "${AGENT_ROOT_FOLDER}/${MAVEN_SETTINGS_FILE}" "${AGENT_ROOT_FOLDER}/settings.xml"
|
||||
echo "Done with local repository and settings"
|
||||
echo "#Build #${PIPELINE_BUILD_NUMBER}" > ${AGENT_ROOT_FOLDER}/build_commits.csv
|
||||
echo "#Build ${PIPELINE_BUILD_NUMBER}" > ${AGENT_ROOT_FOLDER}/build_commits.csv
|
||||
echo "#Start time ${currentBuild.startTimeInMillis}" >> ${AGENT_ROOT_FOLDER}/build_commits.csv
|
||||
echo -e "URL,Version,Build Number" >> ${AGENT_ROOT_FOLDER}/build_commits.csv
|
||||
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue