大体我是用了下面这个网址来配置,有一些地方不一样而已。

https://www.cnblogs.com/hdwang/p/6081994.html

 

1. 部署配置(下面的我用了target/*.war,如果这个路径不对,jenkins报错的时候会提醒的)

Jenkins+maven+tomcat

 

2.因为我用的是jenkins 2.89,好似他的插件用的是jdk1.8。如果jdk版本不对Build的时候会报错。

3.maven如果有些下不来,可以本地项目配

<dependency>  
   <groupId>com.microsoft</groupId>  
   <artifactId>sql-server</artifactId>  
   <version>1.0.0</version>  
   <scope>system</scope>  
   <systemPath>${basedir}/src/main/webapp/lib/sqljdbc4.jar</systemPath>  
</dependency> 

 

福利推荐:加班,祛痘,去油,祛湿必备。我现在也在喝,卖家是个同行小姐姐,有需要就加她了解一下吧。

Jenkins+maven+tomcatJenkins+maven+tomcat

相关文章:

  • 2022-12-23
  • 2022-02-10
  • 2021-10-11
  • 2021-05-17
  • 2021-10-27
  • 2021-06-08
  • 2021-05-14
  • 2021-10-06
猜你喜欢
  • 2021-10-22
  • 2022-02-22
  • 2021-08-07
  • 2022-12-23
  • 2021-05-29
  • 2021-11-20
  • 2021-08-10
相关资源
相似解决方案