diff --git a/pom.xml b/pom.xml index 53b8d27..6500785 100644 --- a/pom.xml +++ b/pom.xml @@ -92,6 +92,7 @@ io.jenkins.blueocean blueocean-rest + true diff --git a/src/main/java/com/microsoftopentechnologies/windowsazurestorage/AzureStorageBlueArtifact.java b/src/main/java/com/microsoftopentechnologies/windowsazurestorage/AzureStorageBlueArtifact.java index d3db701..b9236e0 100644 --- a/src/main/java/com/microsoftopentechnologies/windowsazurestorage/AzureStorageBlueArtifact.java +++ b/src/main/java/com/microsoftopentechnologies/windowsazurestorage/AzureStorageBlueArtifact.java @@ -11,9 +11,16 @@ import io.jenkins.blueocean.rest.hal.Link; import io.jenkins.blueocean.rest.model.BlueArtifact; +@Extension(optional = true) public final class AzureStorageBlueArtifact extends BlueArtifact { - private final AzureBlobAction action; - private final AzureBlob artifact; + private AzureBlobAction action; + private AzureBlob artifact; + + public AzureStorageBlueArtifact() { + super(null); + this.action = null; + this.artifact = null; + } public AzureStorageBlueArtifact(AzureBlobAction action, AzureBlob artifact, Link parent) { super(parent);