Jump to content
Sign in to follow this  
KrisK

Jenkins Integration - How to update to a certain changeset

Recommended Posts

The jenkins plastic plugin states that:

" You can setup not only branches (which is the normal case), but labels as well as changesets in the selector. "

... but it doesnt state how to do that. Tried different approaches but none did work.

Please help.

Thanks Kris

Share this post


Link to post
Share on other sites

Hi, sorry it's not clear in the documentation. You can copy the selector from any of your workspaces. Let me show you some examples:

repository "default@localhost:8087"
  path "/"
    label "v1.0" 
repository "default@localhost:8087"
  path "/"
    smartbranch "/main" changeset "11"  


Regards,

Carlos.
     

Share this post


Link to post
Share on other sites

Thanks for the quick answer! :)

Why do I still need to define the "smartbranch"? The changeset may not be on particulary branch.

Share this post


Link to post
Share on other sites

This is the workspace selector format. You can open a console in any if your workspaces and run the following command:

cm showselector --help

Regards,

Carlos.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...