Jump to content

Selector Syntax for Jenkins Plug-in


wyattetal

Recommended Posts

No did not find any single document.
 
However these two blog posts give some overview:
http://codicesoftware.blogspot.com/2012/01/evolution-of-plastic-scm-branches.html
http://codicesoftware.blogspot.com/2015/06/plastic-scm-integration-with-jenkins-ci.html

I personally use:

repository "repo_name"
   path "/"
      smartbranch "/full/path/to/branch"

If you want to use Jenkins job parameter to have same job working for different branches. There is one problem only - workspace will always be recreated from the scratch ('Use update' option is not working).

repository "%parameter_with_reponame%"
   path "/"
      smartbranch "%parameter_with_branchpath%"
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...