dan-s1 commented on PR #11545:
URL: https://github.com/apache/nifi/pull/11545#issuecomment-5344978253

   @exceptionfactory I finally solved this by moving the definition of 
`NIFI_CI_LOCALE` environment variable in `.github/workflows/build.yml` to the 
`SUREFIRE_OPTS` environment variable definition. It seems that when no 
`argLine` is defined in the surefire configuration in the pom.xml, then the 
environment variables defined in the CI/CD build are passed seamlessly to 
surefire. But when an `argLine` is defined in the surefire configuration in the 
pom.xml then somehow (not %100 why this is) those environment variables are not 
passed. As you can see from the multiple attempts, I tried to obtain the 
`NIFI_CI_LOCALE` environment variable but to no avail. Finally the only 
solution I found was to relocate where the definition `NIFI_CI_LOCALE` is made 
which worked. Please let me know if there is an alternate solution which would 
be better. Thank you!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to