This commit is contained in:
parent
f7635e0302
commit
2cc57fbb2d
2 changed files with 3 additions and 2 deletions
1
.deploy_locally
Normal file
1
.deploy_locally
Normal file
|
@ -0,0 +1 @@
|
||||||
|
grep -m 1 '<version>' pom.xml| sed -e 's/\s*.\/\?version>//g' | xargs -l sh -c 'mvn install:install-file -Dfile=./target/libKonogonka-$0-jar-with-dependencies.jar -DgroupId=ru.redrise -DartifactId=libKonogonka -Dversion=$0 -Dpackaging=jar -DgeneratePom=true;'
|
|
@ -22,9 +22,9 @@ steps:
|
||||||
path: /builds
|
path: /builds
|
||||||
|
|
||||||
- name: install-local-repo
|
- name: install-local-repo
|
||||||
image: alpine:latest
|
image: maven:3-jdk-11
|
||||||
commands:
|
commands:
|
||||||
- mvn install:install-file -Dfile=./target/libKonogonka-*-jar-with-dependencies.jar -DgroupId=ru.redrise -DartifactId=libKonogonka -Dversion=`grep -m 1 '<version>' pom.xml| sed -e 's/\s*.\/\?version>//g'` -Dpackaging=jar -DgeneratePom=true;
|
- . .deploy_locally
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: m2
|
- name: m2
|
||||||
|
|
Loading…
Reference in a new issue