I'm not sure if for the same Multibranch Pipeline there are certain 
authorisations for branches, but creating two Multibranch Pipelines for 
those branches and add the authorization at the project level might fulfill 
your needs:


On Wednesday, 2 December 2020 at 03:54:08 UTC Rishi Gautam wrote:

> some way to restrict User1 to  trigger the build button from console on 
> master branch?
>
> On Wed, Dec 2, 2020 at 2:03 AM Jibsan Joel Rosa Toirac <jibs...@gmail.com> 
> wrote:
>
>> Well I solved the problem, I used "sudo" before the commands and it 
>> started to work, anyhow I ran the command 
>> "root/.sdkman/candidates/grails/3.3.2/bin/grails war" and all started to 
>> work. Thanks for your help
>>
>> El mar, 1 dic 2020 a las 10:30, Rishi Gautam (<rishi....@itonics.de>) 
>> escribió:
>>
>>> Is there any way to enable authorization to build only specific 
>>> branch(job) on jenkins multbranch pipeline?
>>>
>>> Use Case:
>>> User1: can only build test branch.
>>> User2: can build both test and master branch.
>>>
>>> It would be very helpful to get the solution. Thanks in advance.
>>>
>>> -- 
>>> 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-use...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/86a58043-d55c-40ac-ae59-3f9e185b53bbn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-users/86a58043-d55c-40ac-ae59-3f9e185b53bbn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
>> 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-use...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/CAAFuM4EEgdmSJZKbksDY05WB1qKY1-Oyp3_0puU9zHhCocwG-Q%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/CAAFuM4EEgdmSJZKbksDY05WB1qKY1-Oyp3_0puU9zHhCocwG-Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c3f96ea0-a355-4a37-8c93-fb6880db4a00n%40googlegroups.com.

Reply via email to