简体   繁体   English

Maven项目与Jenkins #selenium脚本的集成

[英]Maven project integration with Jenkins #selenium scripts

I am trying to run selenium scripts on Jenkins locally on my computer. 我正在尝试在计算机上的本地Jenkins上运行Selenium脚本。 I was using eclipse project and then i converted it to Maven by configure>convert to maven project. 我正在使用eclipse项目,然后通过configure> convert转换为maven项目将其转换为Maven。 My Jenkins configuration is 我的詹金斯配置是 Jenkins1![Jenkins2

詹金斯2

Look at the configuration in the images. 查看图像中的配置。 This is what I have done so far. 到目前为止,这是我所做的。 I am a beginner to all this so don't know what I am missing. 我是这一切的初学者,所以不知道我在想什么。 My console output on Jenkins is 我在Jenkins上的控制台输出是 詹金斯输出

Try this: 尝试这个:

/user/Gauravgandhi/Documents/workspace/Applico/Website

for file system path and just pass pom.xml under Root Pom text box and define goals for the same. 文件系统路径,只需在Root Pom文本框下传递pom.xml并为其定义目标。
I am hoping you configure JDK and Maven at jenkins level under configure jenkins link. 我希望您在configure jenkins链接下在jenkins级别配置JDK和Maven。

Please let me know if it works or not. 请让我知道它是否有效。

Gaurav, 高拉夫

Please make the setup using admin user in your machine or give full permission to your current user at every level. 请使用您计算机中的admin用户进行设置,或在每个级别上为当前用户授予完全权限。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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