Отключил публикацию снепшотной версии на время разработки документации
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Struchkov Mark 2023-02-19 16:12:18 +03:00
parent f95b7b2f27
commit f92b7f7163
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -1,33 +1,33 @@
--- #---
kind: pipeline #kind: pipeline
type: docker #type: docker
name: snapshot-publish #name: snapshot-publish
#
trigger: #trigger:
branch: # branch:
- develop # - develop
#
volumes: #volumes:
- name: m2 # - name: m2
host: # host:
path: /drone/volume/m2 # path: /drone/volume/m2
#
steps: #steps:
#
- name: publish # - name: publish
image: maven:3.8.5-openjdk-17 # image: maven:3.8.5-openjdk-17
privileged: true # privileged: true
volumes: # volumes:
- name: m2 # - name: m2
path: /root/.m2/repository # path: /root/.m2/repository
environment: # environment:
MAVEN_SETTINGS: # MAVEN_SETTINGS:
from_secret: MAVEN_SETTINGS # from_secret: MAVEN_SETTINGS
commands: # commands:
- echo "$MAVEN_SETTINGS" >> maven-settings.xml # - echo "$MAVEN_SETTINGS" >> maven-settings.xml
- mvn --settings maven-settings.xml -U -P snapshot clean deploy # - mvn --settings maven-settings.xml -U -P snapshot clean deploy
#
--- #---
kind: pipeline kind: pipeline
type: docker type: docker
name: release-maven-central name: release-maven-central