Skip to content

Commit b65aa06

Browse files
authored
chore(Jenkinsfile) correct potential memory leak in the pipeline (#503)
Removes the message ``` Did you forget the `def` keyword? WorkflowScript seems to be setting a field named parallelStages (to a value of type LinkedHashMap) which could lead to memory leaks or other issues. ```
1 parent 5d3cfb3 commit b65aa06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def spotAgentSelector(String agentLabel, int counter) {
4141
}
4242

4343
// Specify parallel stages
44-
parallelStages = [failFast: false]
44+
def parallelStages = [failFast: false]
4545
[
4646
'linux',
4747
'nanoserver-1809',

0 commit comments

Comments
 (0)