[英]Static analysis using Spotbugs in Jenkins from git hub project
[英]How to given Project Path if Jenkins Integration with Git Hub
下面是要從Jenkins計划的自動構建的命令行執行。
cd C:\Users\3020722\Downloads\Katalon_Studio_Windows_64-5.3.0
katalon.exe -runMode=console -projectPath="C:\Users\3020722\Katalon_Studio\PoC\PoC.prj" -retry=0 -testSuitePath="Test Suites/POCTestSuite" -browserType="IE"
我需要從gitHub中獲取最新項目...命令行執行的工作流程如何。
1. Clone Project in to local directory
2. Use that directory in the command line execution
首先是這種情況,它需要克隆到總是本地路徑(預定義)中並且需要給出該路徑。 能否讓我知道gitHub到Jenkins的工作流程
謝謝
您可以使用Jenkins的WORKSPACE變量: https : //wiki.jenkins.io/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-belowJenkinsSetEnvironmentVariables
只需將其直接放入Katalon Studio命令中,Jenkins便會自動對其進行解析,例如:
katalon.exe -runMode=console -projectPath="%WORKSPACE%\PoC.prj" -retry=0 -testSuitePath="Test Suites/POCTestSuite" -browserType="IE"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.