Skip to content
Permalink
Browse files

Merge pull request #112 from jglick/JEP-200-JENKINS-49089

[JENKINS-49089] Whitelist problems
  • Loading branch information
oleg-nenashev committed Jan 24, 2018
2 parents 4c3b42b + fb9fab6 commit ab7e2592e752d2d6a9c31c56a05ae1c2ffdba29c
@@ -1 +1 @@
buildPlugin platforms: ['linux'], jenkinsVersions: [null, '2.89.2']
buildPlugin platforms: ['linux'], jenkinsVersions: [null, '2.103']
@@ -63,14 +63,14 @@
*
* @see #getVersionAsRange()
*/
private VersionRange range;
private transient VersionRange range;

/**
* Cache of the parsed form of {@link #version}
*
* @see #parseVersion()
*/
private ArtifactVersion parsedVersion;
private transient ArtifactVersion parsedVersion;

/**
* @since 2.2
@@ -24,13 +24,13 @@
package hudson.maven;

import hudson.console.ConsoleNote;
import hudson.console.HyperlinkNote;
import hudson.model.BuildListener;
import hudson.model.Cause;
import hudson.model.Result;
import hudson.model.StreamBuildListener;
import hudson.remoting.Channel;
import hudson.remoting.Future;
import hudson.util.AbstractTaskListener;
import jenkins.security.MasterToSlaveCallable;
import jenkins.util.MarkFindingOutputStream;
import org.apache.commons.io.output.ByteArrayOutputStream;
@@ -53,7 +53,7 @@
* @author Kohsuke Kawaguchi
* @since 1.133
*/
final class SplittableBuildListener extends AbstractTaskListener implements BuildListener, Serializable {
final class SplittableBuildListener implements BuildListener, Serializable {
/**
* The actual {@link BuildListener} where the output goes.
*/
@@ -233,6 +233,12 @@ public void annotate(ConsoleNote ann) throws IOException {
core.annotate(ann);
}

@Override // TODO 2.92+ delete
public void hyperlink(String url, String text) throws IOException {
annotate(new HyperlinkNote(url,text.length()));
getLogger().print(text);
}

private Object writeReplace() throws IOException {
return new StreamBuildListener(logger);
}

This file was deleted.

0 comments on commit ab7e259

Please sign in to comment.