Skip to content

Commit b7eb906

Browse files
committed
updated plugin dependencies, further simplify test setup
1 parent 5b169f9 commit b7eb906

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/Testing-DSL-Scripts.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ when running the DSL scripts, e.g. for testing [[extensions|Extending the DSL]]
5555
// Job DSL plugin including plugin dependencies
5656
testCompile "org.jenkins-ci.plugins:job-dsl:${jobDslVersion}"
5757
testCompile "org.jenkins-ci.plugins:job-dsl:${jobDslVersion}@jar"
58-
testCompile 'org.jenkins-ci.plugins:structs:1.6@jar'
58+
testCompile 'org.jenkins-ci.plugins:structs:1.19@jar'
59+
testCompile 'org.jenkins-ci.plugins:script-security:1.54@jar'
5960

6061
// plugins to install in test instance
6162
testPlugins 'org.jenkins-ci.plugins:ghprb:1.31.4'
@@ -116,11 +117,7 @@ The test will then run each script file to check the script for problems.
116117
noExceptionThrown()
117118

118119
where:
119-
file << jobFiles
120-
}
121-
122-
static List<File> getJobFiles() {
123-
new FileNameFinder().getFileNames('jobs', '**/*.groovy').collect { new File(it) }
120+
file << new FileNameFinder().getFileNames('jobs', '**/*.groovy').collect { new File(it) }
124121
}
125122
}
126123

0 commit comments

Comments
 (0)