Отключил публикацию снепшотной версии на время разработки документации
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f95b7b2f27
commit
f92b7f7163
60
.drone.yml
60
.drone.yml
@ -1,33 +1,33 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: snapshot-publish
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- develop
|
||||
|
||||
volumes:
|
||||
- name: m2
|
||||
host:
|
||||
path: /drone/volume/m2
|
||||
|
||||
steps:
|
||||
|
||||
- name: publish
|
||||
image: maven:3.8.5-openjdk-17
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: m2
|
||||
path: /root/.m2/repository
|
||||
environment:
|
||||
MAVEN_SETTINGS:
|
||||
from_secret: MAVEN_SETTINGS
|
||||
commands:
|
||||
- echo "$MAVEN_SETTINGS" >> maven-settings.xml
|
||||
- mvn --settings maven-settings.xml -U -P snapshot clean deploy
|
||||
|
||||
---
|
||||
#---
|
||||
#kind: pipeline
|
||||
#type: docker
|
||||
#name: snapshot-publish
|
||||
#
|
||||
#trigger:
|
||||
# branch:
|
||||
# - develop
|
||||
#
|
||||
#volumes:
|
||||
# - name: m2
|
||||
# host:
|
||||
# path: /drone/volume/m2
|
||||
#
|
||||
#steps:
|
||||
#
|
||||
# - name: publish
|
||||
# image: maven:3.8.5-openjdk-17
|
||||
# privileged: true
|
||||
# volumes:
|
||||
# - name: m2
|
||||
# path: /root/.m2/repository
|
||||
# environment:
|
||||
# MAVEN_SETTINGS:
|
||||
# from_secret: MAVEN_SETTINGS
|
||||
# commands:
|
||||
# - echo "$MAVEN_SETTINGS" >> maven-settings.xml
|
||||
# - mvn --settings maven-settings.xml -U -P snapshot clean deploy
|
||||
#
|
||||
#---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: release-maven-central
|
||||
|
Loading…
Reference in New Issue
Block a user