Update Drone CI config with debug output
Some checks failed
continuous-integration/drone/push Build was killed
Some checks failed
continuous-integration/drone/push Build was killed
This commit is contained in:
21
.drone.yml
21
.drone.yml
@@ -6,31 +6,22 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: eclipse-temurin:21-jdk
|
image: eclipse-temurin:21-jdk
|
||||||
commands:
|
commands:
|
||||||
|
- echo "Starting build process..."
|
||||||
- chmod +x gradlew
|
- chmod +x gradlew
|
||||||
- ./gradlew build --no-daemon
|
- ./gradlew build --no-daemon --stacktrace
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: eclipse-temurin:21-jdk
|
image: eclipse-temurin:21-jdk
|
||||||
commands:
|
commands:
|
||||||
|
- echo "Publishing artifacts..."
|
||||||
- mkdir -p artifacts
|
- mkdir -p artifacts
|
||||||
- cp build/libs/*.jar artifacts/
|
- cp build/libs/*.jar artifacts/
|
||||||
|
- ls -la artifacts/
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
status:
|
||||||
- name: upload-artifacts
|
- success
|
||||||
image: plugins/s3
|
|
||||||
settings:
|
|
||||||
bucket: cheat-builds
|
|
||||||
access_key:
|
|
||||||
from_secret: s3_access_key
|
|
||||||
secret_key:
|
|
||||||
from_secret: s3_secret_key
|
|
||||||
source: artifacts/*.jar
|
|
||||||
target: /builds/${DRONE_BUILD_NUMBER}/
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|||||||
Reference in New Issue
Block a user