tcunit / TcUnit

An unit testing framework for Beckhoff's TwinCAT 3
Other
258 stars 72 forks source link

Visual studio path #154

Closed kumaraswamygaviyappa closed 3 years ago

kumaraswamygaviyappa commented 3 years ago

Hallo,

The VS path was found as marked in RED line but latter Error as Marked in Orange. Any clues please.

image

sagatowski commented 3 years ago

LaunchPlcStaticAnalysis.bat? This does not seem to be related to TcUnit?

kumaraswamygaviyappa commented 3 years ago

Hi @sagatowski ,

Yes, But any help is much appreciated as i am struggling from this from few days. LaunchPlcStaticAnalysis.bat works fine when executed from CMD. Error occurs only while using Jenkins.

sagatowski commented 3 years ago

Then my guess is that this is a privilegesproblem. Have you made sure that the Jenkins agent has the same privileges as the user running from the CMD?

kumaraswamygaviyappa commented 3 years ago

I couldn't find the privileges , i could solve it by changing JENKINS_HOME. Could give me some pointers to find the privileges in Jenkins.

sagatowski commented 3 years ago

Jenkins_HOME? How did that change the problem? So what was the problem then?

I guess we can close this issue then?

kumaraswamygaviyappa commented 3 years ago

Followed This Link JENKINS_HOME

sagatowski commented 3 years ago

Thanks @kumaraswamygaviyappa !

I have also written a little about this: https://alltwincat.com/2018/07/26/ci-cd-with-twincat-part-two/

And more importantly: https://alltwincat.com/2018/10/04/ci-cd-with-twincat-part-four/

(search for the word "weekend" in the second link and you will find what I mean)