简体   繁体   English

如果我将Jenkins配置为使用github存储库中维护的脚本运行测试,是否会将脚本导入本地jenkins工作区目录中

[英]if i configure Jenkins to run test using scripts maintained in a github repo, does it import the scripts in the local jenkins workspace directory

if i configure Jenkins to run test using scripts maintained in a github repo, does it import the scripts in the local jenkins workspace directory and then run tests on those scripts 如果我将Jenkins配置为使用github存储库中维护的脚本运行测试,它是否将脚本导入本地jenkins工作区目录中,然后在这些脚本上运行测试

I searched in google, but could not find a definitive answer. 我在Google中搜索,但找不到明确的答案。

Jenkins version that i am using -Version 2.0. 我正在使用-Version 2.0的Jenkins版本。 Type of Job - Freestyle project Tests are configured to run using build step - mvn test. 作业类型-Freestyle项目测试被配置为使用构建步骤-mvn测试运行。 Test scripts are webdriver java using TestNG framework 测试脚本是使用TestNG框架的WebDriver Java

I have just configured the job yet, but not yet try to run. 我刚刚配置了作业,但尚未尝试运行。 Just want to know how jenkins supposed to run test in such a configuration 只想知道詹金斯应该如何在这种配置下运行测试

Jenkins在本地jenkins工作区上克隆了github存储库的副本,并将在克隆的代码上运行所有测试用例。

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

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