mirror of
https://github.com/russ-p/sqlbuilder.git
synced 2025-12-14 01:04:25 +00:00
This commit is contained in:
@@ -9,7 +9,14 @@ steps:
|
|||||||
- name: mvnrepo
|
- name: mvnrepo
|
||||||
path: /root/.m2
|
path: /root/.m2
|
||||||
commands:
|
commands:
|
||||||
- mvn install
|
- mvn install deploy -Ddeployment.releases.id=$DEPREPO -Ddeployment.releases.url=$DEPREPOURL -Ddeployment.snapshots.id=$DEPREPO -Ddeployment.snapshots.url=$DEPREPOSNAPURL
|
||||||
|
environment:
|
||||||
|
DEPREPO:
|
||||||
|
from_secret: deprepo
|
||||||
|
DEPREPOURL:
|
||||||
|
from_secret: deprepourl
|
||||||
|
DEPREPOSNAPURL:
|
||||||
|
from_secret: depreposnapurl
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: mvnrepo
|
- name: mvnrepo
|
||||||
|
|||||||
14
pom.xml
14
pom.xml
@@ -43,4 +43,18 @@
|
|||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>${deployment.releases.id}</id>
|
||||||
|
<name>Releases</name>
|
||||||
|
<url>${deployment.releases.url}</url>
|
||||||
|
</repository>
|
||||||
|
<snapshotRepository>
|
||||||
|
<id>${deployment.snapshots.id}</id>
|
||||||
|
<name>Snapshots</name>
|
||||||
|
<url>${deployment.snapshots.url}</url>
|
||||||
|
</snapshotRepository>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
Reference in New Issue
Block a user