-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathJenkinsfile
More file actions
35 lines (34 loc) · 864 Bytes
/
Jenkinsfile
File metadata and controls
35 lines (34 loc) · 864 Bytes
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
35
#!groovy
@Library('waluigi@release/7') _
mixedBeehiveFlow(
container: [
resourceRequestMemory: '3Gi',
resourceLimitMemory: '3Gi'
],
publishContainer: [
resourceRequestMemory: '6Gi',
resourceLimitMemory: '6Gi'
],
testPrefix: 'Tiny-jQuery',
platforms: [
[ browser: 'chrome', headless: true ],
[ browser: 'firefox', provider: 'aws', buckets: 1 ],
[ browser: 'safari', provider: 'lambdatest', os: 'macOS Sonoma', buckets: 1 ]
],
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"
}
)