diff --git a/.drone.yml b/.drone.yml index 23db556..28ec975 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,31 +6,22 @@ steps: - name: build image: eclipse-temurin:21-jdk commands: + - echo "Starting build process..." - chmod +x gradlew - - ./gradlew build --no-daemon + - ./gradlew build --no-daemon --stacktrace - name: publish image: eclipse-temurin:21-jdk commands: + - echo "Publishing artifacts..." - mkdir -p artifacts - cp build/libs/*.jar artifacts/ + - ls -la artifacts/ when: branch: - main - - - name: upload-artifacts - 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 + status: + - success trigger: branch: