ci: mvn deploy for github action

This commit is contained in:
CaptainB 2023-06-03 20:10:18 +08:00
parent 01a727871c
commit c540fffb92
2 changed files with 8 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -44,8 +44,8 @@ pipeline {
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:/opt/apache-maven-3.8.3/bin:$PATH
java -version
mvn install -N -Drevision=${REVISION} --settings ./settings.xml
mvn clean install -Drevision=${REVISION} -pl backend,backend/framework,backend/framework/domain,backend/framework/jmeter,backend/framework/plugin,backend/framework/sdk,backend/services,backend/services/load-test,backend/services/ui-test --settings ./settings.xml
mvn deploy -N -Drevision=${REVISION} --settings ./settings.xml
mvn clean deploy -Drevision=${REVISION} -pl backend,backend/framework,backend/framework/domain,backend/framework/jmeter,backend/framework/plugin,backend/framework/sdk,backend/services,backend/services/load-test,backend/services/ui-test --settings ./settings.xml
'''
}
}

View File

@ -244,4 +244,10 @@
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>fit2cloud-public</id>
<url>https://repository.fit2cloud.com/content/repositories/fit2cloud-public</url>
</repository>
</distributionManagement>
</project>