Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 222be51

Browse files
committed
Mark view variables static
1 parent 99bc7b0 commit 222be51

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

netci.groovy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ class Constants {
267267
// **************************************************************
268268

269269
// MergeJobView: include all jobs that execute when a PR change is merged.
270-
def MergeJobView = listView('Merge') {
270+
def static MergeJobView = listView('Merge') {
271271
columns {
272272
status()
273273
weather()
@@ -280,7 +280,7 @@ def MergeJobView = listView('Merge') {
280280
}
281281

282282
// PeriodicJobView: include all jobs that execute on a schedule
283-
def PeriodicJobView = listView('Periodic') {
283+
def static PeriodicJobView = listView('Periodic') {
284284
columns {
285285
status()
286286
weather()
@@ -293,7 +293,7 @@ def PeriodicJobView = listView('Periodic') {
293293
}
294294

295295
// Create a view for non-PR jobs for each architecture.
296-
def ArchitectureViews = [:]
296+
def static ArchitectureViews = [:]
297297
Constants.architectureList.each { architecture ->
298298
ArchitectureViews[architecture] = listView(architecture) {
299299
columns {
@@ -309,7 +309,7 @@ Constants.architectureList.each { architecture ->
309309
}
310310

311311
// Create a view for non-PR jobs for each OS.
312-
def OSViews = [:]
312+
def static OSViews = [:]
313313
Constants.osList.each { os ->
314314
// Don't create one for the special 'Windows_NT_BuildOnly'
315315
if (os == 'Windows_NT_BuildOnly') {

0 commit comments

Comments
 (0)