[JENKINS-49486] How to make promoted_builds/conditions/ManualCondition.java instance per build?

11 views
Skip to first unread message

Rick Liu

unread,
Mar 20, 2018, 5:59:28 AM3/20/18
to Jenkins Developers
Hi,

I'm trying to implementing [JENKINS-49486]: Approvers field doesn't expand variable in the build.

My plan is to update ManualCondition.users variable at the end of each build (file-diff),
but found out that there's only ONE MnaulCondition instance per project (job) across all builds,
and hence only ONE ManualCondition.users variable across all builds.

So now I don't know where I should change to make ManualCondition instance becomes per build basis.


Thanks,
Rick

dnus...@cloudbees.com

unread,
Mar 21, 2018, 1:18:07 PM3/21/18
to Jenkins Developers
Anyone interested can take a look at this pull request: https://github.com/jenkinsci/promoted-builds-plugin/pull/114.
Reply all
Reply to author
Forward
0 new messages