File tree 8 files changed +16
-9
lines changed
main/java/io/jenkins/plugins/pipelinegraphview
test/java/io/jenkins/plugins/pipelinegraphview/utils
8 files changed +16
-9
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7
7
types :
8
8
- completed
9
9
10
+ permissions :
11
+ checks : read
12
+ contents : write
13
+
10
14
jobs :
11
15
maven-cd :
12
16
uses : jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1
Original file line number Diff line number Diff line change 2
2
<extension >
3
3
<groupId >io.jenkins.tools.incrementals</groupId >
4
4
<artifactId >git-changelist-maven-extension</artifactId >
5
- <version >1.4 </version >
5
+ <version >1.8 </version >
6
6
</extension >
7
7
</extensions >
Original file line number Diff line number Diff line change 4
4
<parent >
5
5
<groupId >org.jenkins-ci.plugins</groupId >
6
6
<artifactId >plugin</artifactId >
7
- <version >4.72 </version >
7
+ <version >4.81 </version >
8
8
<relativePath />
9
9
</parent >
10
10
33
33
<changelist >999999-SNAPSHOT</changelist >
34
34
<gitHubRepo >jenkinsci/pipeline-graph-view-plugin</gitHubRepo >
35
35
<!-- Baseline Jenkins version you use to build the plugin. Users must have this version or newer to run. -->
36
- <jenkins .version>2.440</jenkins .version>
36
+ <jenkins .version>2.440.1 </jenkins .version>
37
37
<node .version>16.18.1</node .version>
38
38
<npm .version>8.19.4</npm .version>
39
39
<spotless .check.skip>false</spotless .check.skip>
45
45
<!-- Pick up common dependencies for the selected LTS line: https://github.com/jenkinsci/bom#usage -->
46
46
<groupId >io.jenkins.tools.bom</groupId >
47
47
<artifactId >bom-2.440.x</artifactId >
48
- <version >2746.vb_79a_1d3e7b_c8 </version >
48
+ <version >2982.vdce2153031a_0 </version >
49
49
<type >pom</type >
50
50
<scope >import</scope >
51
51
</dependency >
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ public boolean isDeclarative() {
146
146
return this .declarative ;
147
147
}
148
148
149
- private class GraphBuilder {
149
+ private static class GraphBuilder {
150
150
private final Map <String , FlowNode > nodeMap ;
151
151
private final Map <String , NodeRelationship > relationships ;
152
152
private final WorkflowRun run ;
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public class PipelineNodeGraphVisitor extends StandardChunkVisitor implements Pi
81
81
82
82
private static final Logger logger = LoggerFactory .getLogger (PipelineNodeGraphVisitor .class );
83
83
84
- private final boolean isNodeVisitorDumpEnabled = true ; // logger.isTraceEnabled();
84
+ private static final boolean isNodeVisitorDumpEnabled = true ; // logger.isTraceEnabled();
85
85
86
86
private final Stack <FlowNode > nestedStages = new Stack <>();
87
87
private final Stack <FlowNode > nestedbranches = new Stack <>();
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ public void getAllStepsReturnsStepsForComplexParallelBranches() throws Exception
192
192
PipelineStepApi api = new PipelineStepApi (run );
193
193
194
194
List <PipelineStep > steps = api .getAllSteps ().getSteps ();
195
- assertThat (steps , hasSize (10 ));
195
+ assertThat (steps , hasSize (11 ));
196
196
assertThat (steps .get (0 ).getName (), is ("This stage will be executed first." ));
197
197
assertThat (steps .get (0 ).getTitle (), is ("Print Message" ));
198
198
assertThat (steps .get (1 ).getName (), is ("Print Message" ));
@@ -214,6 +214,8 @@ public void getAllStepsReturnsStepsForComplexParallelBranches() throws Exception
214
214
assertThat (steps .get (8 ).getTitle (), is ("Print Message" ));
215
215
assertThat (steps .get (9 ).getName (), is ("In stage Nested 2 - 2 within Branch C" ));
216
216
assertThat (steps .get (9 ).getTitle (), is ("Print Message" ));
217
+ assertThat (steps .get (10 ).getName (), is ("Get contextual object from internal APIs" ));
218
+ assertThat (steps .get (10 ).getTitle (), is ("" ));
217
219
}
218
220
219
221
@ Test
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ public void getAllStepsReturnsStepsForComplexParallelBranches() throws Exception
230
230
PipelineStepApi api = new PipelineStepApi (run );
231
231
232
232
List <PipelineStep > steps = api .getAllSteps ().getSteps ();
233
- assertThat (steps , hasSize (10 ));
233
+ assertThat (steps , hasSize (11 ));
234
234
assertThat (steps .get (0 ).getName (), is ("This stage will be executed first." ));
235
235
assertThat (steps .get (0 ).getTitle (), is ("Print Message" ));
236
236
assertThat (steps .get (1 ).getName (), is ("Print Message" ));
@@ -252,6 +252,8 @@ public void getAllStepsReturnsStepsForComplexParallelBranches() throws Exception
252
252
assertThat (steps .get (8 ).getTitle (), is ("Print Message" ));
253
253
assertThat (steps .get (9 ).getName (), is ("In stage Nested 2 - 2 within Branch C" ));
254
254
assertThat (steps .get (9 ).getTitle (), is ("Print Message" ));
255
+ assertThat (steps .get (10 ).getName (), is ("Get contextual object from internal APIs" ));
256
+ assertThat (steps .get (10 ).getTitle (), is ("" ));
255
257
}
256
258
257
259
@ Test
You can’t perform that action at this time.
0 commit comments