update deployment stage +2
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dmitry Isaenko 2022-08-10 19:33:01 +03:00
parent 0711a87913
commit 32bea46f10
2 changed files with 2 additions and 11 deletions

View file

@ -1 +0,0 @@
grep -m 1 '<version>' pom.xml| sed -e 's/\s*.\/\?version>//g' | xargs -l sh -c 'mvn install:install-file -Dfile=./target/libKonogonka-*-jar-with-dependencies.jar -DgroupId=ru.redrise -DartifactId=libKonogonka -Dversion=$0 -Dpackaging=jar -DgeneratePom=true;'

View file

@ -3,10 +3,10 @@ type: docker
name: default
steps:
- name: test
- name: build-install-locally
image: maven:3-jdk-11
commands:
- mvn -B -DskipTests clean package
- mvn -B -DskipTests clean install
- mvn test -B
volumes:
- name: m2
@ -21,14 +21,6 @@ steps:
- name: builds
path: /builds
- name: install-local-repo
image: maven:3-jdk-11
commands:
- . ./.deploy_locally
volumes:
- name: m2
path: /root/.m2
volumes:
- name: m2
host: