-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initialize TEST_FLAG to blank #4736
Initialize TEST_FLAG to blank #4736
Conversation
- Avoid Jenkins error trying to pass parameter with null value [skip ci] Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
Yesterday we added an option to one of our Jenkins instances which allows parameters to be passed to a job without the job having such parameters defined and not writing a warning to the main Jenkins log. Example log entry
Adding the option However, it seemed to have the unintended side effect of not allowing
Initializing this variable to blank resolves the error. @pshipton or @smlambert for merge |
@AdamBrousseau Can you link this to the issue / pr for adding |
There was no issue. It was on an internal Jenkins instance. It came about after chasing a disk space issue with the support team on Slack and realizing the Jenkins log file was eating 50G of disk mostly due to these warnings. The support team added the option and I noticed Test jobs failing the next day so I am assuming the link between the change and the failures. |
@AdamBrousseau Isn't adding that option a security concern? https://jenkins.io/blog/2016/05/11/security-update/ it suggests that not passing the variables was a low / medium security concern as it allows injecting extra env vars to Jenkins processes. Do any of the suggested alternatives in that doc better address the root issue? |
Not really a security concern imo.
adoptium/aqa-tests#837 was opened to address this, but it looks like the better option which is being investigated is to auto generate jobs that would have all the necessary parameters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There's no way to PR build this. Merging as is. |
[skip ci]
Signed-off-by: Adam Brousseau adam.brousseau88@gmail.com