Commit 7cc31ff 1 parent ec12264 commit 7cc31ff Copy full SHA for 7cc31ff
File tree 1 file changed +16
-19
lines changed
1 file changed +16
-19
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/groovy
2
-
3
- library ' kibana-pipeline-library'
4
- kibanaLibrary. load()
5
-
6
- kibanaPipeline(timeoutMinutes : 155 , checkPrChanges : true , setCommitStatus : true ) {
7
- slackNotifications. onFailure(disabled : ! params. NOTIFY_ON_FAILURE ) {
8
- githubPr. withDefaultPrComments {
9
- ciStats. trackBuild {
10
- catchError {
11
- retryable. enable()
12
- kibanaPipeline. allCiTasks()
13
- }
14
- }
1
+ node {
2
+ label ' website'
3
+ sh " env"
4
+ echo " BRANCH: ${ scmVars.GIT_BRANCH} , COMMIT: ${ scmVars.GIT_COMMIT} "
5
+ stage(' bootstrap' ) {
6
+ sh ' yarn kbn bootstrap'
7
+ }
8
+ stage(' unit tests' ) {
9
+ sh ' yarn test:jest'
10
+ }
11
+ stage(' integration tests' ) {
12
+ sh ' yarn test:jest_integration'
13
+ sh ' yarn test:mocha'
14
+ }
15
+ stage(' build' ){
16
+ sh ' yarn build --oss --skip-os-packages'
15
17
}
16
- }
17
-
18
- if (params. NOTIFY_ON_FAILURE ) {
19
- kibanaPipeline. sendMail()
20
- }
21
18
}
You can’t perform that action at this time.
0 commit comments