Skip to content

Commit 5652f24

Browse files
authored
Merge pull request #35 from tinymce/feature/INT-2988
INT-2988: Upgrade to the new waluigi version to use containers when running builds
2 parents 9f4f270 + e7f9714 commit 5652f24

File tree

1 file changed

+9
-39
lines changed

1 file changed

+9
-39
lines changed

Jenkinsfile

Lines changed: 9 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,12 @@
11
#!groovy
2-
@Library('waluigi@v5.0.0') _
2+
@Library('waluigi@v6.0.0') _
33

4-
standardProperties()
5-
6-
node("primary") {
7-
echo "Clean workspace"
8-
cleanWs()
9-
10-
stage("checkout") {
11-
checkout scm
12-
}
13-
14-
stage("dependencies") {
15-
yarnInstall()
16-
}
17-
18-
stage("stamp") {
19-
sh "yarn beehive-flow stamp"
20-
}
21-
22-
stage("build") {
23-
sh "yarn build"
24-
}
25-
26-
stage("lint") {
27-
sh "yarn lint"
28-
}
29-
30-
def platforms = [
31-
[ name: "win10Chrome", os: "windows-10", browser: "chrome" ],
32-
[ name: "win10FF", os: "windows-10", browser: "firefox" ]
33-
]
34-
bedrockBrowsers(platforms: platforms, testDirs: [ "src/test/ts/browser" ])
35-
36-
stage("publish") {
37-
sshagent(credentials: ['jenkins2-github']) {
38-
sh "yarn beehive-flow publish"
39-
sh "yarn beehive-flow advance-ci"
40-
}
4+
beehiveFlowBuild(
5+
test: {
6+
def platforms = [
7+
[ os: "windows-10", browser: "chrome" ],
8+
[ os: "windows-10", browser: "firefox" ]
9+
]
10+
bedrockBrowsers(platforms: platforms, testDirs: ["src/test/ts/browser"])
4111
}
42-
}
12+
)

0 commit comments

Comments
 (0)