首页 > 其他 > 详细

持续集成

时间:2021-02-15 23:29:56      阅读:26      评论:0      收藏:0      [点我收藏+]

一.打包配置

Chapter12:

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.7.1</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>
./src/main/resources/testng.xml
</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
</plugins>
</build>

Chapter13:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>com.course.Application</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>

</executions>
</plugin>
<plugin>

<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
<compilerArguments>
<extdirs>${project.basedir}/lib</extdirs>
</compilerArguments>
</configuration>
</plugin>

</plugins>
</build>
二.jenkins环境搭建
1.下载jenkins的war包:
执行命令:wget http://mirrors.jenkins.io/war-stable/latest/jenkins.war
说明:若wget命令不识别,下载一个wget.exe放置C:\Windows\System32 目录下面
转载:https://blog.csdn.net/weixin_34233618/article/details/89768673
2.

持续集成

原文:https://www.cnblogs.com/sf-express/p/14403795.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!