ci: deploy to nexus
This commit is contained in:
parent
e4d6984e6d
commit
be2021e5b8
|
@ -43,8 +43,8 @@ pipeline {
|
||||||
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
|
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
|
||||||
export PATH=$JAVA_HOME/bin:/opt/apache-maven-3.8.3/bin:$PATH
|
export PATH=$JAVA_HOME/bin:/opt/apache-maven-3.8.3/bin:$PATH
|
||||||
java -version
|
java -version
|
||||||
mvn install -N -Drevision=${REVISION} --settings ./settings.xml
|
mvn deploy -N -Drevision=${REVISION} --settings ./settings.xml
|
||||||
mvn clean install -Drevision=${REVISION} -pl framework,framework/sdk-parent,framework/sdk-parent/domain,framework/sdk-parent/sdk,framework/sdk-parent/xpack-interface,framework/sdk-parent/jmeter --settings ./settings.xml
|
mvn clean deploy -Drevision=${REVISION} -pl framework,framework/sdk-parent,framework/sdk-parent/domain,framework/sdk-parent/sdk,framework/sdk-parent/xpack-interface,framework/sdk-parent/jmeter --settings ./settings.xml
|
||||||
|
|
||||||
# 复制前端代码
|
# 复制前端代码
|
||||||
if [ -n "${FRONTEND_LINK}" ]; then
|
if [ -n "${FRONTEND_LINK}" ]; then
|
||||||
|
|
6
pom.xml
6
pom.xml
|
@ -174,4 +174,10 @@
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>fit2cloud-public</id>
|
||||||
|
<url>https://repository.fit2cloud.com/content/repositories/fit2cloud-public</url>
|
||||||
|
</repository>
|
||||||
|
</distributionManagement>
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue