Currently in our company we are executing tests from CCNet (in Automation VM) by specifying different build arguments, however I feel it is now best to migrate to better automation server which is Jenkins
I am new to Jenkins world however I started installing the jenkins (though had issue in starting the Jenkins Service, later found it was due to JDK version issue)
But now I have installed all the needed plugins(GIT - for gitlab repository, MSBuild and MStest)
But I do not know how do I specify build arguments in Jenkins the way we do it in CCNet.config files
Here is the CCNet Config File that we use to Force the build
"AutoTests - Payments" queue="Q13"> -
-
D:\GIT-TA -
D:\DEV\deploy\AutomatedTest\BuildLogs\BasicTests.Payments -
AutomatedTest -
60 -
"defaultlabeller" > -
0.1. -
true -
000 -
-
-
D:\MSTestExtended\Runner.exe -
run-tests /project:payments /retriesCount:1 -
6800 -
0 -
-
-
-
D:\DEV\deploy\AutomatedTest\Results\TestPublish\BasicTests.Payments_Rerun.trx -
Likewise we have many projects and then we do the build for that, but now in Jenkins I feel little lost - how do I configure it to with my according
Note: IN CCNet - it used to pick the branch whichever is checkout in VM, but I see in Jenkins we also need to manually setup the branch name; so in that case also Is there a way to specify the branch during build time?
And if I can add the selection for run-tests /project:payments /retriesCount:1 - when we initiate the jenkins build, it will aske to select the arguments
Can someone help me in that to understand the Jenkins way of doing this?
Replies
Know the answer? Post it — somebody with the same question will find it here.