Compare commits

..

No commits in common. "master" and "test-1" have entirely different histories.

View File

@ -2,15 +2,13 @@ kind: pipeline
name: default
type: docker
steps:
# ============ MAIN BUILD ============
- name: run the Gradle 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:
@ -24,7 +22,6 @@ steps:
when:
event: tag
# ============ NOTIFICATIONS ============
- name: send build success notifications
image: plugins/webhook
settings:
@ -40,17 +37,17 @@ steps:
when:
status: success
- name: send build error notifications
image: plugins/webhook
settings:
urls:
from_secret: notify_webhook_url
content_type: application/json
template: |
{
"title": "Drone-CI [matterlink-reboot @ ${DRONE_BUILD_NUMBER}]",
"message": "Build failed! (Changes by ${DRONE_COMMIT_AUTHOR})",
"priority": 6
}
when:
status: failure
- name: send build error notifications
image: plugins/webhook
settings:
urls:
from_secret: notify_webhook_url
content_type: application/json
template: |
{
"title": "Drone-CI [matterlink-reboot @ ${DRONE_BUILD_NUMBER}]",
"message": "Build failed! (Changes by ${DRONE_COMMIT_AUTHOR})",
"priority": 6
}
when:
status: failure