提交jenkins构建脚本
This commit is contained in:
@@ -101,6 +101,26 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.spotify</groupId>
|
||||
<artifactId>dockerfile-maven-plugin</artifactId>
|
||||
<version>1.4.4</version>
|
||||
<configuration>
|
||||
<username>gzzn</username>
|
||||
<password>Gzzn@2018</password>
|
||||
<!-- 镜像tag -->
|
||||
<tag>${project.version}</tag>
|
||||
|
||||
<!--useMavenSettingsForAuth>true</useMavenSettingsForAuth -->
|
||||
<!-- 禁止使用谷歌商店认证 -->
|
||||
<googleContainerRegistryEnabled>false</googleContainerRegistryEnabled>
|
||||
|
||||
<repository>130.120.3.193/${project.groupId}/${project.artifactId}</repository>
|
||||
<buildArgs>
|
||||
<JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
|
||||
</buildArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user