-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
I have attached a patch which exposes SVN_AUTHOR and SVN_COMMIT_MSG environment variables (and _n versions for multi-module projects) in the same way that SVN_REVISION and SVN_URL are exposed.
This patch is made against trunk@39940, and it would be great to get it into the 1.33 release.
As per my previous patch, I'm afraid I cannot get the test suite to run ("mvn clean install" fails the tests), so I haven't written any tests for this patch, and cannot validate that it doesn't break any existing tests. I've done "real life" testing, and it seems good.
[JENKINS-11111] Add SVN author and commit message env vars
Attachment | New: svn-author-test.patch [ 20866 ] |
You can run single tests with mvn -Dtest=<testname> install, so that's not really an excuse for not writing a test
BTW: what are the errors when you run mvn clean install - could you open a new issue for that?
Regarding the patch: if I've seen it correctly, you don't handle multiple authors/messages for a single module. However, there could be multiple in one build!