File tree Expand file tree Collapse file tree 1 file changed +6
-31
lines changed
Expand file tree Collapse file tree 1 file changed +6
-31
lines changed Original file line number Diff line number Diff line change 11#! groovy
2- @Library (' waluigi@v3.2 .0' ) _
2+ @Library (' waluigi@v4.0 .0' ) _
33
44standardProperties()
55
@@ -27,37 +27,12 @@ node("primary") {
2727 sh " yarn lint"
2828 }
2929
30- stage(" test" ) {
31- def permutations = [
32- [ name : " win10Chrome" , os : " windows-10" , browser : " chrome" ],
33- [ name : " win10FF" , os : " windows-10" , browser : " firefox" ]
34- // [ name: "win10Edge", os: "windows-10", browser: "MicrosoftEdge" ]
35- ]
30+ def platforms = [
31+ [ name : " win10Chrome" , os : " windows-10" , browser : " chrome" ],
32+ [ name : " win10FF" , os : " windows-10" , browser : " firefox" ]
33+ ]
3634
37- def processes = [:]
38-
39- for (int i = 0 ; i < permutations. size(); i++ ) {
40- def permutation = permutations. get(i);
41- def name = permutation. name;
42- processes[name] = {
43- node(" bedrock-" + permutation. os) {
44- echo " Clean workspace"
45- cleanWs()
46-
47- echo " Checkout"
48- checkout scm
49-
50- echo " Installing tools"
51- yarnInstall()
52-
53- echo " Platform: browser tests for " + permutation. name
54- bedrockTests(permutation. name, permutation. browser, " src/test/ts/browser" )
55- }
56- }
57- }
58-
59- parallel processes
60- }
35+ bedrockBrowsers(platforms : platforms, testDirs : [ " src/test/ts/browser" ])
6136
6237 stage(" publish" ) {
6338 sh " yarn beehive-flow publish"
You can’t perform that action at this time.
0 commit comments