|
|
|
@ -2,13 +2,15 @@ kind: pipeline
|
|
|
|
|
name: default
|
|
|
|
|
type: docker
|
|
|
|
|
steps:
|
|
|
|
|
- name: Run the Gradle build
|
|
|
|
|
# ============ MAIN BUILD ============
|
|
|
|
|
- name: run the Gradle build
|
|
|
|
|
image: glmdev/java-gradle-maven
|
|
|
|
|
commands:
|
|
|
|
|
- ./prep_workspace.bash
|
|
|
|
|
- ./gradlew build shadowJar reobfShadowJar
|
|
|
|
|
- ls ./build/libs
|
|
|
|
|
|
|
|
|
|
# ============ TAG RELEASE ============
|
|
|
|
|
- name: release
|
|
|
|
|
image: plugins/gitea-release
|
|
|
|
|
settings:
|
|
|
|
@ -22,6 +24,7 @@ steps:
|
|
|
|
|
when:
|
|
|
|
|
event: tag
|
|
|
|
|
|
|
|
|
|
# ============ NOTIFICATIONS ============
|
|
|
|
|
- name: send build success notifications
|
|
|
|
|
image: plugins/webhook
|
|
|
|
|
settings:
|
|
|
|
|