The way the plug-in is implemented makes it impossible to recommend baselines if
locked builds is used. While the stream is locked no modifications are allowed
which means that the baseline can’t be recommended since it in fact modifies the
streams. I think the lock should be released at the beginning of ‘perform’ in
the publisher. By then the baseline has been created and the view rebased and
it’s ok to unlock the stream. The publisher could go on and promote/demote and
finally recommend the baseline.
I think that the current solution could never work. I’ll be happy to fix this if
someone with commit-status could make sure that it ends up in the svn-repo.
I've been told at the mailing-list that the workaround is to exclude the
build-user from the lock but I believe that it needs to be fixed in the plugin.
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]