Hi,

I have the following scenario.

A build job is created. On successful build i want the build to be promoted
by a particular role( "DEV Approvers" - Using Role Strategy Plugin ) to
environment say DEV. On successful completion of DEV promotion i want that
build to be enabled for promotion to next level(say UAT) only to particular
role say "UAT-Aproovers". Subsequently the next levels...

I have used Promoted builds plugin along with Role Strategy plugin. Although
this works to some extent but it does not provide me the exact behavior as
explained above.

1. Job is given access to role "build" with build permission. It allows
users with build role to execute the build.
2. Job is given access to role "DEV Approvers" with promote permission. It
does not give users of "DEV Approvers" the option "Approve Button" but
rather it gives "Force Promotion" Option.
3. Similarly, Job is given access to role "UAT Approvers" with promote
permission. It does not give users of "UAT Approvers" the option "Approve
Button" but rather it gives "force promotion"

Now if the step 2 is not executed then i dont want to allow the step 3 to be
executed but in my case step 3 is executing even though  i have given the
criteria "When the following upstream promotions are promoted" with step 2
promotion label.

Can someone help with a solution or any workaround?

Thanks,
Deevan



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Manual-Promotion-and-Upstream-Promotion-Criteria-along-with-Role-Strategy-plugin-tp4676887.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to