we are trying to integrate the blueprism releases to CI tool Jenkins using command line export param "C:\Program Files\Blue Prism Limited\Blue Prism Automate\AutomateC.exe" /sso /exportpackage /release
When we execute the above command through cmd it work fine. But we run above command through Jenkins it fails with the exception details mentioned below,
System.IO.IOException: The handle is invalid.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.Console.GetBufferInfo(Boolean throwOnNoConsole, Boolean& succeeded)
at AutomateC.AutomateC.ReportProgress(Int32 perc, Object msg)
at BluePrism.BPCoreLib.clsProgressMonitor.OnProgressChanged(Int32 value, Object data)
at BluePrism.AutomateAppCore.clsRelease.WriteXmlHead(XmlWriter writer)
at BluePrism.AutomateAppCore.PackageComponent.ToXml(XmlWriter writer)
--- End of inner exception stack trace ---
at BluePrism.AutomateAppCore.PackageComponent.ToXml(XmlWriter writer)
at BluePrism.AutomateAppCore.clsRelease.Export(Stream stream, clsProgressMonitor mon)
at BluePrism.AutomateAppCore.clsRelease.Export(FileInfo file, Boolean compress, clsProgressMonitor mon)
at AutomateC.AutomateC.Run(String[] args)
Attached a screenshot for more details. Need assistance on how to integrate blueprism releases with the Jenkins or anyother CI tool.
Thanks
Uday