Application Integration

Expand all | Collapse all

Continuous Integration with jenkins fails

  • 1.  Continuous Integration with jenkins fails

    Posted 01-25-2018 14:39
    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


  • 2.  I recommend raising a…

    Posted 01-25-2018 16:52
    I recommend raising a support ticket Uday.


  • 3.  Hi Uday, The way to fix this…

    Posted 07-12-2018 04:48
    Hi Uday, The way to fix this error is to not use windows batch commands and instead use powershell command in jenkins.   sample powershell code: Start-Process ""C:\Program Files\Blue Prism Limited\Blue Prism Automate\automatec.exe"" -Wait -workingdirectory ""C:\BPBuild"" -ArgumentList ""/dbconname Dev /user /exportpackage PackageTest""    Thanks, Mitesh


  • 4.  Hi, IS this error message…

    Posted 01-17-2019 00:28
    Hi, IS this error message resolved for you using powershell? I get the same message running powershell commands to export. Any help is appreciated   Thank you


  • 5.  +1: I also have the same…

    Posted 03-01-2019 14:21
    +1: I also have the same issue. By using PowerShell ISE it fails. When I use windows command line it works properly. I tried to integrate the command line it into my PS script by using cmd.exe /c ""..."" or cmd.exe /k ""..."" but it returns  the same error message as below. Does anyone have at least a temporary workaround?  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)


  • 6.  RE: Continuous Integration with jenkins fails

    Posted 10-10-2019 16:34

    I have successfully implemented with either using windows cmd or python as build steps.

    Automatec doesnt work in powershell.



    ------------------------------
    Bhagavathsingh Raamsingh
    Senior Administrator
    Wipro
    America/New_York
    ------------------------------



  • 7.  RE: Continuous Integration with jenkins fails

    Posted 10-10-2019 16:54
    AutomateC does work in PowerShell. What causes you to say it doesn't?

    ------------------------------
    Dave Morris
    3Ci @ Southern Company
    Atlanta, GA
    ------------------------------