Just return what the artifact zip file path would be to avoid adding ~6ms lookup of artifacts for each run (#674)
This commit is contained in:
parent
673cd48d57
commit
9bdb6e39a1
|
@ -167,11 +167,7 @@ public class AbstractRunImpl<T extends Run> extends BlueRun {
|
|||
|
||||
@Override
|
||||
public String getArtifactsZipFile() {
|
||||
if(run.getHasArtifacts()) {
|
||||
return "/" + run.getUrl()+"artifact/*zip*/archive.zip";
|
||||
}
|
||||
|
||||
return null;
|
||||
return "/" + run.getUrl()+"artifact/*zip*/archive.zip";
|
||||
}
|
||||
|
||||
protected BlueRun stop(Boolean blocking, Integer timeOutInSecs, StoppableRun stoppableRun){
|
||||
|
|
Loading…
Reference in New Issue