|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

hehe yeah that's pretty obvious =D
At first I thought of maybe setting one of the environment variables, but probably Jenkins can't read it when the script ends.
So now I'm thinking of taking a value that is actually the contents of a file, who's path will be decided in the job's parameters.
For example, maybe it could be taken from "./workspace/reports/buildParameterName.txt" and later that file would be transferred to the archive directory.
The path to the file should be either absolute or relative.
The value of "buildParameterName" would be set in the "Edit view" page, as part of the absolute/relative path.
When clicking on the button "Add column", an option of "Contents of file" should be displayed and it will determine the path of the file.
I'm yet to have a complete familiarity with Jenkins, so maybe you'll see a better approach.