feature/21176 #1
|
@ -16,7 +16,7 @@ pipeline {
|
|||
environment {
|
||||
AGENT_ROOT_FOLDER = "${agent_root_folder}"
|
||||
PIPELINE_BUILD_NUMBER = "${env.BUILD_NUMBER}"
|
||||
WALKER_NOTES = "${agent_root_folder}/walker_notes.${inputProject}.md"
|
||||
WALKER_NOTES = "${agent_root_folder}/walker_notes.${PIPELINE_BUILD_NUMBER}.txt"
|
||||
manuele.simi marked this conversation as resolved
Outdated
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
PIPELINE_BUILD_NUMBER
instead ofinputProject
to make the notes' filename unique..txt
.Thanks Manuele for your feedback!
In order to preserve an unique filename as you suggest, I can add to the current filename, the
PIPELINE_BUILD_NUMBER
.WALKER_NOTES = "${agent_root_folder}/walker_notes.${inputProject}.${PIPELINE_BUILD_NUMBER}.md"
WALKER_NOTES = "${agent_root_folder}/walker_notes.${inputProject}.${PIPELINE_BUILD_NUMBER}.txt"
Well, it's a filename attached to an email with a subject related to the component. I mean, the filename should not really matter. And you could have issues with the component name in the filename.
Neverthlees, adding the pipeline number will make it unique.
OK I'm going to remove the component name from the filename