xebialabs-community / xlr-tfs-plugin

Integration between XLR and TFS 2013 and TFS 2015
MIT License
3 stars 5 forks source link

TFS Trigger #8

Open taylorse opened 6 years ago

taylorse commented 6 years ago

The new update allowing XLR triggers based on TFS check ins looks to be set up to only trigger for check ins to a project; is there a way to trigger based on a check in/merge to a specific branch for a project?

jdewinne commented 6 years ago

Would it work to use the git commit trigger, which has the option to specify the branch?

jdewinne commented 6 years ago

Sorry. didn't mean to close.

taylorse commented 6 years ago

I noticed that the git trigger had the branch option, but the dev teams I’m looking to implement are only in TFS.

-Sean

From: Joris De Winne [mailto:notifications@github.com] Sent: Thursday, August 24, 2017 9:54 PM To: xebialabs-community/xlr-tfs-plugin Cc: Taylor, Sean; Author Subject: [EXTERNAL] Re: [xebialabs-community/xlr-tfs-plugin] TFS Trigger (#8)

This email is from an external sender. If you think it is malicious or spam, please do not open any attachments or links and forward to Spam@hsn.netmailto:Spam@hsn.net

Would it work to use the git commit trigger, which has the option to specify the branchhttps://github.com/xebialabs-community/xlr-tfs-plugin/blob/master/src/main/resources/synthetic.xml#L136?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/xebialabs-community/xlr-tfs-plugin/issues/8#issuecomment-324803177, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AaiQ7Fd2avXDM2oVM4U0-5HS8kKtvGinks5sbikugaJpZM4PAHfW.

http://www.hsn.comhttp://www.hsn.com/ [http://images.hsn.com/images/corpemail/2013_hsn_logo_prod.jpg]

jdewinne commented 6 years ago

I'm not sure if this is actually exposed by the TFS api. How would you be able to specify the branchname on a non git based TFS repo?

taylorse commented 6 years ago

I would assume by using the “By item path” option for changesets:

https://www.visualstudio.com/en-us/docs/integrate/api/tfvc/changesets

From: Joris De Winne [mailto:notifications@github.com] Sent: Friday, August 25, 2017 8:28 PM To: xebialabs-community/xlr-tfs-plugin Cc: Taylor, Sean; Author Subject: [EXTERNAL] Re: [xebialabs-community/xlr-tfs-plugin] TFS Trigger (#8)

This email is from an external sender. If you think it is malicious or spam, please do not open any attachments or links and forward to Spam@hsn.netmailto:Spam@hsn.net

I'm not sure if this is actually exposed by the TFS apihttps://www.visualstudio.com/en-us/docs/integrate/api/tfvc/changesets. How would you be able to specify the branchname on a non git based TFS repo?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/xebialabs-community/xlr-tfs-plugin/issues/8#issuecomment-325063259, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AaiQ7K_CuUAjVdvshRcZxRw_RZ4mGQpPks5sb2aJgaJpZM4PAHfW.

http://www.hsn.comhttp://www.hsn.com/ [http://images.hsn.com/images/corpemail/2013_hsn_logo_prod.jpg]

jdewinne commented 6 years ago

FYI: XebiaLabs now officially supports TFS from XLR. https://docs.xebialabs.com/xl-release/how-to/using-the-xl-release-vsts-tfs-plugin.html

Would your use case work when using the official supported plugin?