CD-489# Test fix due to artifact url format change in htmlpublisher 1.16
Blueocean test should not be testing url format, all we care is artifact
url is non null.
@@ -39,7 +39,7 @@ public class HTMLArtifactTest extends PipelineBaseTest {
Assert.assertEquals("/blue/rest/organizations/jenkins/pipelines/project/runs/1/artifacts/io.jenkins.blueocean.htmlpublisher.HTMLArtifact%253AMy%252520Cool%252520report/", artifact.getLink().getHref());
Assert.assertEquals("My Cool report", artifact.getName());
Assert.assertEquals("My Cool report", artifact.getPath());
- Assert.assertEquals("/job/project/1/My_Cool_report", artifact.getUrl());
+ Assert.assertNotNull(artifact.getUrl());
Assert.assertEquals(-1, artifact.getSize());
Assert.assertFalse(artifact.isDownloadable());
}
