|
|
|
[
Permlink
| « Hide
]
Roger Perkins [28/Sep/10 09:58 AM]
Ok... missed the priority... not exactly "major"... I can probably fumble around and work out the script to do this, but it might take a while to get right and gets the bugs out.
I agree to provide default script in some form to help writing custom scripts. I will create another improvement request and close this ticket. For this specific case, below script should work:
for (repository: configuration.getReferencedRepositories()) { boolean developerCommitsFound = false; for (change: repository.getChanges()) { if (!change.getUser().equals("automated")) developerCommitsFound = true; } if (developerCommitsFound) return true; } return false;
|