Removed Gitlab CI pipeline.
All checks were successful
Build Plugin JAR File / Build (push) Successful in 11s
All checks were successful
Build Plugin JAR File / Build (push) Successful in 11s
This commit is contained in:
@@ -1,41 +0,0 @@
|
|||||||
stages:
|
|
||||||
- build
|
|
||||||
- publish
|
|
||||||
|
|
||||||
variables:
|
|
||||||
JAR_PATH: "build/libs/Snowbrawl-2.jar"
|
|
||||||
|
|
||||||
build:
|
|
||||||
stage: build
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
image: openjdk:17-jdk
|
|
||||||
script:
|
|
||||||
- chmod +x gradlew
|
|
||||||
- ./gradlew build
|
|
||||||
artifacts:
|
|
||||||
name: Snowbrawl-$CI_COMMIT_REF_SLUG-$CI_JOB_NAME
|
|
||||||
paths:
|
|
||||||
- $JAR_PATH
|
|
||||||
expire_in: 1 day
|
|
||||||
|
|
||||||
publish:
|
|
||||||
stage: publish
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
|
||||||
rules:
|
|
||||||
- if: $CI_COMMIT_TAG
|
|
||||||
before_script:
|
|
||||||
- apk add --no-cache curl
|
|
||||||
script:
|
|
||||||
- curl --header "JOB-TOKEN:$CI_JOB_TOKEN" --upload-file $JAR_PATH "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/release/$CI_COMMIT_TAG/Snowbrawl_$CI_COMMIT_TAG.jar"
|
|
||||||
release:
|
|
||||||
name: "Snowbrawl $CI_COMMIT_TAG"
|
|
||||||
description: "Automatic Snowbrawl release from tag $CI_COMMIT_TAG."
|
|
||||||
tag_name: "$CI_COMMIT_TAG"
|
|
||||||
ref: "$CI_COMMIT_TAG"
|
|
||||||
assets:
|
|
||||||
links:
|
|
||||||
- name: "Snowbrawl_$CI_COMMIT_TAG.jar"
|
|
||||||
url: "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/release/$CI_COMMIT_TAG/Snowbrawl_$CI_COMMIT_TAG.jar"
|
|
||||||
Reference in New Issue
Block a user