Hi Geert,
After checking, there is no error in source code : EA.App is well spelling.
In fact, the purpose of my C# solution is especially to generate test cases from BPMN diagram & from scenarii of activities. It should be great if the solution can be integrate to our existing continuous integration platform (based on jenkins solution). For example, this should allow to generate tests each time a commit is made on the EA model.
Do you have encountered some problems with AP.App permissions ? I have tried to execute solution with the Windows scheduler and there is no problem. So I think my problems is about user (jenkins ?) or AP.App permissions. Do you share my analysis ?
For information, jenkins error logs are following (I can translate french part if necessary) :
Exception non g‚r‚eÿ: System.Runtime.InteropServices.COMException: La r‚cup‚ration de la fabrique de classes COM pour le composant avec le CLSID {67F4E0FA-46A7-4255-B084-69A9433D08C3} a ‚chou‚ en raison de l'erreur suivanteÿ: 80080005 ?chec de l'ex‚cution du serveur (Exception de HRESULT : 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
… System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)
… System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType)
… System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)
… System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
… System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
… System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
… System.Activator.CreateInstance(Type type, Boolean nonPublic)
… System.Activator.CreateInstance(Type type)
… TestCaseGenerator.Program.Main(String[] args) dans D:\PROJETS\TestCaseGenerator\TestCaseGenerator\Program.cs:ligne 16
Build step 'Exécuter une ligne de commande batch Windows' marked build as failure
Finished: FAILURE
Best regards,
David