Skip to content

Commit

Permalink
fix [JENKINS-13439] Tagging a build fails due to exception,
Browse files Browse the repository at this point in the history
do the same as commit 1a8d25a with the
remaining ListenerAndText.forMemory(Lhudson/model/TaskThread;) method
call
  • Loading branch information
metcox committed May 26, 2012
1 parent 07fe749 commit b7ab97c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/hudson/scm/cvstagging/LegacyTagAction.java
Expand Up @@ -365,9 +365,10 @@ public Descriptor<LegacyTagAction> getDescriptor() {
public static final class LegacyTagWorkerThread extends TaskThread {
private final Map<AbstractBuild<?, ?>, String> tagSet;

@SuppressWarnings("deprecation") // use a deprecated method, so we can support as many versions of Jenkins as possible
public LegacyTagWorkerThread(final LegacyTagAction owner,
final Map<AbstractBuild<?, ?>, String> tagSet) {
super(owner, ListenerAndText.forMemory(null));
super(owner, ListenerAndText.forMemory());
this.tagSet = tagSet;
}

Expand Down

0 comments on commit b7ab97c

Please sign in to comment.