简体   繁体   中英

maven build on jenkins not allowing to create/genarte any files in project

I have created a java project which has implemented cucumber and Junit. When I am running the project from my IDE the reports and snapshots are generating finely but after pushing the code when my build is run by Jenkins, none of the reports and snapshot is generating in my workspace. My build also showing success without any issue, just the files are not created.

Configuration :-

  • Window 10
  • Jenkins.war -> Jenkins ver. 2.74

I am using the below command from terminal which is working fine

mvn clean install

In Jenkins maven plug-in, I have set goal as

clean install

I have also giving Full control permission to Jenkins war from properties->security.

It looks like a permission issue to me but what exactly it is?

I have also change the workspace from c driver to d still facing the same issue

在configure-> build-> Root POM中,POM文件的路径应该是Jenkins工作区项目的路径,而不是本地/开发环境的路径。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM