Skip to content

Commit

Permalink
Merge pull request #364 from loomchild/master
Browse files Browse the repository at this point in the history
JENKINS-31108 Allow publishing from shallow clone
  • Loading branch information
MarkEWaite committed Feb 12, 2016
2 parents 0cb5b0a + 6ec358c commit 2553827
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -243,7 +243,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>git-client</artifactId>
<version>1.19.0</version>
<version>1.19.2</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
Expand Down
5 changes: 0 additions & 5 deletions src/main/java/hudson/plugins/git/GitPublisher.java
Expand Up @@ -190,11 +190,6 @@ public boolean perform(AbstractBuild<?, ?> build,

final GitSCM gitSCM = (GitSCM) scm;

if(gitSCM.getUseShallowClone()) {
listener.getLogger().println("GitPublisher disabled while using shallow clone.");
return true;
}

final String projectName = build.getProject().getName();
final int buildNumber = build.getNumber();
final Result buildResult = build.getResult();
Expand Down

0 comments on commit 2553827

Please sign in to comment.