1 parent
874a10539f
commit
1aa6ebaf1d
1 file changed
+11
+11
@@ -11,6 +11,17 @@ steps:
|
||||
commands:
|
||||
- mvn install
|
||||
|
||||
- name: deploy
|
||||
image: maven:3.6.1-jdk-8-slim
|
||||
volumes:
|
||||
- name: mvnrepo
|
||||
path: /root/.m2
|
||||
commands:
|
||||
- mvn deploy -DskipTests=true -DaltDeploymentRepository=${DEPREPO}
|
||||
environment:
|
||||
DEPREPO:
|
||||
from_secret: deprepo
|
||||
|
||||
volumes:
|
||||
- name: mvnrepo
|
||||
host:
|
||||
|
||||
Reference in new issue
Block a user