That depends on the behaviors configured on the multibranch project. I 
think by default newly discovered tag jobs don't automatically build.

if you have a multibranch project called "myproject" and it has a couple of 
branches under it, you can start a scan:

build job: "myproject", wait: false

this is different from building a branch where you'd specify the branch job 
under it

build "myproject/master"



On Saturday, August 18, 2018 at 4:14:06 PM UTC+1, pisymbol wrote:
>
> Ok, but won't that build the branch in question? What does a sample build 
> step look for the scan operation?
>
> -aps
>
> On Sat, Aug 18, 2018 at 10:47 AM Steven Foster <steven...@gmail.com 
> <javascript:>> wrote:
>
>> You can use the "build" step to start a multibranch scan. Just call it on 
>> the multibranch job as you would a normal job.
>>
>> On Friday, August 17, 2018 at 4:29:24 PM UTC+1, pisymbol wrote:
>>>
>>> I have a job that creates a new branch/tag in SVN. IT does so by 
>>> modifying some internal build files and then tagging it.
>>>
>>> What I would like to do is kickstart a multibranch pipeline scan when 
>>> that job completes. How can one accomplish this?
>>>
>>> Googling has not proven very fruitful. I thought I could either use the 
>>> "build" syntax or maybe issue a POST of some sort but I'm not 100% sure.
>>>
>>> I'd rather manually kickstart the scan than poll if possible and i don't 
>>> want to build the tag, just have my multibranch pipeline scan and pickup 
>>> the newly tagged tree with a Jenkinsfile in it (ready and watiing!).
>>>
>>> Thanks!
>>>
>>> -aps
>>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Jenkins Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/jenkinsci-users/Ssu4iJ6D4q4/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> jenkinsci-use...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/83ff2f88-7d6f-4f20-bb9a-862d301b0b90%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/83ff2f88-7d6f-4f20-bb9a-862d301b0b90%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/aa1481b7-982f-4836-81f2-0f7f10bb591d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to