Skip to content
Permalink
Browse files

[JENKINS-43507] Pick up changes for JENKINS-44891

  • Loading branch information...
stephenc committed Jun 15, 2017
1 parent d41c751 commit b380c2f26987daaaf55d55353fec30e54590e12d
Showing with 8 additions and 3 deletions.
  1. +1 −1 pom.xml
  2. +7 −2 src/main/java/hudson/plugins/mercurial/MercurialSCMSource.java
@@ -16,7 +16,7 @@
<properties>
<jenkins.version>1.642.3</jenkins.version>
<no-test-jar>false</no-test-jar>
<scm-api-plugin.version>2.2.0-20170612.200107-11</scm-api-plugin.version>
<scm-api-plugin.version>2.2.0-20170615.114844-13</scm-api-plugin.version>
</properties>

<developers>
@@ -77,12 +77,17 @@
@Deprecated @Restricted(NoExternalUse.class) @RestrictedSince("2.0") private transient boolean clean;

@DataBoundConstructor
public MercurialSCMSource(String id, String source) {
super(id);
public MercurialSCMSource(String source) {
this.source = source;
this.traits = new ArrayList<>();
}

@Deprecated
public MercurialSCMSource(String id, String source) {
this(source);
setId(id);
}

@Deprecated @Restricted(NoExternalUse.class) @RestrictedSince("2.0") public MercurialSCMSource(
String id, String installation, String source, String credentialsId, String branchPattern, String modules,
String subdir, HgBrowser browser, boolean clean) {

0 comments on commit b380c2f

Please sign in to comment.
You can’t perform that action at this time.