詹金斯的空手道选项 [英] karate options in jenkins

查看:48
本文介绍了詹金斯的空手道选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从jenkins运行代码,在目标和选项中提供特定标签.但是失败并出现以下错误.能否请您验证语法并让我知道如何解决此问题 无法在项目空手道样板上执行目标org.apache.maven.plugins:maven-clean-plugin:2.5:clean(默认清理):无法清理项目:无法删除

I am trying to run code from jenkins giving specific tag in Goals and options.But it fails with following error.Can you please validate the syntax and let me know how to resolve this Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project karate-boilerplate: Failed to clean project: Failed to delete

 clean compile test  -Dkarate.options="--tags @reg"

推荐答案

这似乎不是空手道的问题,错误说

This doesn't look like an issue with karate, error says

无法在项目空手道样板上执行目标org.apache.maven.plugins:maven-clean-plugin:2.5:clean(默认清理):无法清理项目:无法删除

Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project karate-boilerplate: Failed to clean project: Failed to delete

maven无法clean您的target目录.从完整的日志中,您应该能够看到maven无法删除的确切文件.

maven is failing to clean your target directory. from the complete logs, you should be able to see the exact file which maven is not able to delete.

在日志中仔细查看未能删除语句.它应该指向文件.

In the logs carefully look after Failed to delete statement. it should be pointing to a file.

这篇关于詹金斯的空手道选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆