File tree Expand file tree Collapse file tree 5 files changed +12
-8
lines changed
java/io/jenkins/plugins/pipelinegraphview
resources/io/jenkins/plugins/pipelinegraphview/consoleview/PipelineConsoleViewAction Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export async function getRunStatusFromPath(
4343 url : string ,
4444) : Promise < RunStatus | null > {
4545 try {
46- const response = await fetch ( url + "pipeline-console /tree" ) ;
46+ const response = await fetch ( url + "pipeline-overview /tree" ) ;
4747 if ( ! response . ok ) {
4848 throw response . statusText ;
4949 }
Original file line number Diff line number Diff line change 11package io .jenkins .plugins .pipelinegraphview ;
22
3+ import static io .jenkins .plugins .pipelinegraphview .consoleview .PipelineConsoleViewAction .URL_NAME ;
4+
35import edu .umd .cs .findbugs .annotations .NonNull ;
46import hudson .Extension ;
57import hudson .model .Job ;
@@ -26,7 +28,7 @@ public String getName() {
2628 @ NonNull
2729 public String getRunURL (Run <?, ?> run ) {
2830 if (run instanceof WorkflowRun ) {
29- return DisplayURLProvider .getDefault ().getRunURL (run ) + "pipeline-console" ;
31+ return DisplayURLProvider .getDefault ().getRunURL (run ) + URL_NAME ;
3032 }
3133 return DisplayURLProvider .getDefault ().getRunURL (run );
3234 }
Original file line number Diff line number Diff line change 3636
3737public class PipelineConsoleViewAction extends AbstractPipelineViewAction {
3838 public static final long LOG_THRESHOLD = 150 * 1024 ; // 150KB
39- public static final String URL_NAME = "pipeline-console " ;
39+ public static final String URL_NAME = "pipeline-overview " ;
4040
4141 private static final Logger logger = LoggerFactory .getLogger (PipelineConsoleViewAction .class );
4242 private final WorkflowRun target ;
@@ -52,7 +52,7 @@ public PipelineConsoleViewAction(WorkflowRun target) {
5252
5353 @ Override
5454 public String getDisplayName () {
55- return "Pipeline Console " ;
55+ return "Pipeline Overview " ;
5656 }
5757
5858 @ Override
@@ -62,7 +62,7 @@ public String getUrlName() {
6262
6363 @ Override
6464 public String getIconClassName () {
65- return "symbol-terminal -outline plugin-ionicons-api" ;
65+ return "symbol-git-network -outline plugin-ionicons-api" ;
6666 }
6767
6868 public String getDurationString () {
Original file line number Diff line number Diff line change 11package io .jenkins .plugins .pipelinegraphview .utils ;
22
3+ import static io .jenkins .plugins .pipelinegraphview .consoleview .PipelineConsoleViewAction .URL_NAME ;
4+
35import com .fasterxml .jackson .core .JsonProcessingException ;
46import com .fasterxml .jackson .databind .ObjectMapper ;
57import hudson .model .Action ;
@@ -144,7 +146,7 @@ public HttpResponse replayRun(StaplerRequest2 req) {
144146 "url" ,
145147 appendTrailingSlashIfRequired (req .getContextPath ())
146148 + run .getUrl ().replace ("/" + run .getNumber () + "/" , "/" + estimatedNextBuildNumber + "/" )
147- + "pipeline-console/" );
149+ + URL_NAME );
148150
149151 result .put ("success" , true );
150152 return HttpResponses .okJSON (result );
Original file line number Diff line number Diff line change 3030
3131 <t : buildCaption controls =" ${controls}" >
3232 <j : if test =" ${it.previousBuildNumber!=null}" >
33- <a href =" ../../${it.previousBuildNumber}/pipeline-console " class =" jenkins-button jenkins-button--tertiary app-details__prev_next" tooltip =" ${%Previous Build}" >
33+ <a href =" ../../${it.previousBuildNumber}/pipeline-overview " class =" jenkins-button jenkins-button--tertiary app-details__prev_next" tooltip =" ${%Previous Build}" >
3434 <l : icon class =" symbol-chevron-back-outline plugin-ionicons-api icon-md" />
3535 </a >
3636 </j : if >
3737 ${it.buildDisplayName}
3838 <j : if test =" ${it.nextBuildNumber!=null}" >
39- <a href =" ../../${it.nextBuildNumber}/pipeline-console " class =" jenkins-button jenkins-button--tertiary app-details__prev_next" tooltip =" ${%Next Build}" >
39+ <a href =" ../../${it.nextBuildNumber}/pipeline-overview " class =" jenkins-button jenkins-button--tertiary app-details__prev_next" tooltip =" ${%Next Build}" >
4040 <l : icon class =" symbol-chevron-forward-outline plugin-ionicons-api icon-md" />
4141 </a >
4242 </j : if >
You can’t perform that action at this time.
0 commit comments