Update build pipeline.
This commit is contained in:
parent
479f18a4e1
commit
0fc5ebec08
15
.editorconfig
Normal file
15
.editorconfig
Normal file
|
@ -0,0 +1,15 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.{json,yml}]
|
||||
indent_size = 2
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
|
@ -2,8 +2,17 @@ image: openjdk:8
|
|||
|
||||
pipelines:
|
||||
default:
|
||||
- step:
|
||||
- step: # define the build pipeline for the tag
|
||||
caches:
|
||||
- gradle
|
||||
name: Build and Test
|
||||
script:
|
||||
- bash ./gradlew build
|
||||
- bash ./gradlew clean build
|
||||
tags: # add the 'tags' section
|
||||
release-*: # specify the tag
|
||||
- step: # define the build pipeline for the tag
|
||||
caches:
|
||||
- gradle
|
||||
name: Build and Release
|
||||
script:
|
||||
- bash ./gradlew clean build bintrayUpload
|
||||
|
|
Loading…
Reference in a new issue