Have you followed below steps to activate your slave?
LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com
“You must expect great things from you, before you can do them”
Here is the update
we launched the agent from the commandline and it get connected . and it ran successfully.After connection I set up the Jenkins Project to run the TestComplete Project Suite . So it run the Project Suite located on testexecute machine.
But Here is one thing I was looking at the command line which is being used for connection to Jenkins master and get the following exception when I press Build Now
Oct 08, 2018 10:06:34 AM hudson.Util getWin32ErrorMessage
WARNING: Failed to find resource bundle
java.util.MissingResourceException: Can't find bundle for base name /hudson/win3
2errors, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source
)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at hudson.Util.getWin32ErrorMessage(Util.java:662)
at hudson.util.jna.JnaException.<init>(JnaException.java:37)
at hudson.util.jna.RegistryKey.check(RegistryKey.java:124)
at hudson.util.jna.RegistryKey.open(RegistryKey.java:223)
at com.smartbear.jenkins.plugins.testcomplete.TcInstallationsScanner$Sca
nnerCallable.scanForInstallations(TcInstallationsScanner.java:82)
at com.smartbear.jenkins.plugins.testcomplete.TcInstallationsScanner$Sca
nnerCallable.call(TcInstallationsScanner.java:69)
at com.smartbear.jenkins.plugins.testcomplete.TcInstallationsScanner$Sca
nnerCallable.call(TcInstallationsScanner.java:58)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecut
orService.java:72)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
at java.lang.Thread.run(Unknown Source)
Any idea what is causing this ?
Thanks
NG
Looks like the same proble someone else had:
Solved by running jenkins as a local account.
we still have this warning but our testcomplete projects are running fine on testexecute machines. At this time I am not sure what will be the long term impact of those warnings.
I have attached the screenshots for slave agent configurations
jenkins job configurations
Now oour goal is to export the mht file after the TestComplete tests get finished . Right now I have mentioned in the script itself . is there a way that we can put in Jenkins after post build ?
Thanks
NG
The jenkins plugin provides a Test Complete Results on the build page, is this not what you are looking for?
*.mht report and I need to push this report to our Confluence as you can see in the screenshot which we have set up in PostBuild . But In order to make this work we have to write thiss code at the end
Log.SaveResultsAs("C:\\ ...\\...\\...\\ScholarshipTrackingSystemStatusHSC.mht",lsMHT)
Thanks
NG
As Jenkins plugin provide the testComplete Result on the build page and we also got the MHT report but how can we export the MHT report from jenkins to wiki ?
Any idea ?
Thanks
NG
It is not the actual MHT report, it is the UI rendered data with help of .htmlx and .tclogx files.
For each build, .htmlx and .tclogx files will be in below path. you can upload these files into Wiki, whenever you want you can open it via TestComplete.
{Jenkins_Home}\jobs\{job_name}\builds\{build_number}\tcreports
As of now option to export as MHT format from the build view
LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com
“You must expect great things from you, before you can do them”We want to do it through programming . Doing it manually will be difficult as we have so many applications .
Thanks
NG
@nisgupta wrote:
We want to do it through programming . Doing it manually will be difficult as we have so many applications .
Thanks
NG
Do you want to upload the MHT file into the Confluence on each build?
LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com
“You must expect great things from you, before you can do them”Subject | Author | Latest Post |
---|---|---|