jenkins-job-builder/tests/scm/fixtures/hg01.xml
Jean-Frédéric Berthelot 0051ad311b Add Mercurial plugin feature to jenkins-job-builder
Adds Mercurial plugin to jenkins-job-builder.
This allows you to use hg repositories in your Jenkins config
eg:
    scm:
      - hg:
         branch: feature
         url: ssh://hg@hg/repo
         modules:
           - module1
           - module2
         browser: hgweb
         browser-url: http://hg/repo

Follows up on change ids:
 I00aaa4bb7a67ee5038ed1eff79b5497866730d19
 I134c8af15f0d4dc895f7131c77085c198b701fa8

Change-Id: I628f7fbd11769b1d18551fcd2913777dbe8de5a2
Implements: blueprint jenkins-job-builder-mercurial
2014-12-11 13:59:06 +00:00

12 lines
321 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<scm class="hudson.plugins.mercurial.MercurialSCM">
<source>ssh://hg@hg/repo</source>
<revisionType>BRANCH</revisionType>
<revision>default</revision>
<clean>false</clean>
<modules/>
<disableChangeLog>false</disableChangeLog>
</scm>
</project>