I'm trying to clone build history from a configuration tree to another configuration tree whenever a build is done without notice to users.
So I made a promotion which will be executed always but the promotion button should be displayed to users after build completion.
I tried to use group settings to limit using of the promotion but it fails with below message.
"failed to lazily initialize a collection of role: com.pmease.quickbuild.model.User.memberships, no session or session was closed"
How about two features which limit visibility of promotion button to normal users, only admins can see it, and don't make promoted history if a check box is selected?
Description
I'm trying to clone build history from a configuration tree to another configuration tree whenever a build is done without notice to users.
So I made a promotion which will be executed always but the promotion button should be displayed to users after build completion.
I tried to use group settings to limit using of the promotion but it fails with below message.
"failed to lazily initialize a collection of role: com.pmease.quickbuild.model.User.memberships, no session or session was closed"
How about two features which limit visibility of promotion button to normal users, only admins can see it, and don't make promoted history if a check box is selected?