Closed vegarosthus closed 2 years ago
Hello,
where is TcUnit-Runner installed on your runner, i.e. C:\Program Files (x86)\TcUnit-Runner
?
Hi,
Thanks for the quick reply. I found my error 45 mins after posting my issue. The error was that the .yml
-file only referred to the agent pool, and not to the specific agent. Thus, it searched for the LaunchTcUnit.bat
-file in the wrong VM. It worked like a charm once I changed the "pool" section in my .yml
-file from
pool: 'AC4Build' # self-hosted agent
to
pool:
name: AC4Build
demands:
- agent.name -equals TcUnitTests # self-hosted agent
@vegarosthus good job! I'll close this issue.
Hi all,
I want to run TcUnit-Runner on a Azure-hosted VM. Following the example under Azure Pipelines on the TcUnit-Runner User Manual I registered the VM as a self-hosted agent and installed all prerequisites on it, including TwinCAT 3, Git and TcUnit/TcUnit-Runner. This is my
azure-pipelines.yml
fileNow, testing my setup by changing my TC project on my developer machine, and pushing it to the Azure repo, I can see the pipeline job starting in Azure DevOps, but the job fails with the following console output
Sorry for the Norwegian language, but the first error basically translates to "The system cannot find the given path".
Now I am stuck, partly because I am confused as to what the script is trying to do at this point. What file doesn't it find? Any help would be much appreciated.