From 32bea46f10a49b90d569014dc3dce0574614bfee Mon Sep 17 00:00:00 2001 From: Dmitry Isaenko Date: Wed, 10 Aug 2022 19:33:01 +0300 Subject: [PATCH] update deployment stage +2 --- .deploy_locally | 1 - .drone.yml | 12 ++---------- 2 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 .deploy_locally diff --git a/.deploy_locally b/.deploy_locally deleted file mode 100644 index 615098b..0000000 --- a/.deploy_locally +++ /dev/null @@ -1 +0,0 @@ -grep -m 1 '' 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;' \ No newline at end of file diff --git a/.drone.yml b/.drone.yml index 1726772..2f034f5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: