-
Notifications
You must be signed in to change notification settings - Fork 209
/
Jenkinsfile
34 lines (33 loc) · 945 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!groovy
@Library('waluigi@release/7') _
mixedBeehiveFlow(
container: [ resourceRequestMemory: '3Gi', resourceLimitMemory: '3Gi' ],
testContainer: [ selenium: [ image: "selenium/standalone-chrome:127.0" ] ],
testPrefix: 'Tiny-Vue',
testDirs: [ "src/test/ts/atomic", "src/test/ts/browser" ],
platforms: [
[ browser: 'chrome', headless: true ],
[ browser: 'firefox', provider: 'aws' ],
[ browser: 'safari', provider: 'lambdatest' ]
],
publishContainer: [
resourceRequestMemory: '4Gi',
resourceLimitMemory: '4Gi'
],
customSteps: {
stage("update storybook") {
def status = beehiveFlowStatus()
if (status.branchState == 'releaseReady' && status.isLatest) {
tinyGit.withGitHubSSHCredentials {
exec('yarn deploy-storybook')
}
} else {
echo "Skipping as is not latest release"
}
}
},
preparePublish:{
yarnInstall()
sh "yarn build"
}
)