<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi,
IS this error message… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53473#M8132</link>
    <description>Hi,
IS this error message resolved for you using powershell?
I get the same message running powershell commands to export. Any help is appreciated
&amp;nbsp;
Thank you</description>
    <pubDate>Thu, 17 Jan 2019 00:28:00 GMT</pubDate>
    <dc:creator>HIMAKOMMINENI</dc:creator>
    <dc:date>2019-01-17T00:28:00Z</dc:date>
    <item>
      <title>Continuous Integration with jenkins fails</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53470#M8129</link>
      <description>we&amp;nbsp;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&amp;nbsp;&amp;nbsp; /release 

When we execute the above&amp;nbsp; command through cmd it work fine. But we run above command through Jenkins it fails with the exception details mentioned below,

&amp;nbsp;

System.IO.IOException: The handle is invalid.

&amp;nbsp;&amp;nbsp; at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
&amp;nbsp;&amp;nbsp; at System.Console.GetBufferInfo(Boolean throwOnNoConsole, Boolean&amp;amp; succeeded)
&amp;nbsp;&amp;nbsp; at AutomateC.AutomateC.ReportProgress(Int32 perc, Object msg)
&amp;nbsp;&amp;nbsp; at BluePrism.BPCoreLib.clsProgressMonitor.OnProgressChanged(Int32 value, Object data)
&amp;nbsp;&amp;nbsp; at BluePrism.AutomateAppCore.clsRelease.WriteXmlHead(XmlWriter writer)
&amp;nbsp;&amp;nbsp; at BluePrism.AutomateAppCore.PackageComponent.ToXml(XmlWriter writer)
&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---
&amp;nbsp;&amp;nbsp; at BluePrism.AutomateAppCore.PackageComponent.ToXml(XmlWriter writer)
&amp;nbsp;&amp;nbsp; at BluePrism.AutomateAppCore.clsRelease.Export(Stream stream, clsProgressMonitor mon)
&amp;nbsp;&amp;nbsp; at BluePrism.AutomateAppCore.clsRelease.Export(FileInfo file, Boolean compress, clsProgressMonitor mon)
&amp;nbsp;&amp;nbsp; at AutomateC.AutomateC.Run(String[] args)
&amp;nbsp;

&amp;nbsp;

Attached a screenshot for more details. Need assistance on how to integrate blueprism releases with the Jenkins or anyother CI tool.

&amp;nbsp;

Thanks

Uday</description>
      <pubDate>Thu, 25 Jan 2018 14:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53470#M8129</guid>
      <dc:creator>Uday__Arikatla</dc:creator>
      <dc:date>2018-01-25T14:39:00Z</dc:date>
    </item>
    <item>
      <title>I recommend raising a…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53471#M8130</link>
      <description>I recommend raising a support ticket Uday.</description>
      <pubDate>Thu, 25 Jan 2018 16:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53471#M8130</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-01-25T16:52:00Z</dc:date>
    </item>
    <item>
      <title>Hi Uday,
The way to fix this…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53472#M8131</link>
      <description>Hi Uday,
The way to fix this error is to not use windows batch commands and instead use powershell command in jenkins.
&amp;nbsp;
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""&amp;nbsp;
&amp;nbsp;
Thanks,
Mitesh</description>
      <pubDate>Thu, 12 Jul 2018 03:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53472#M8131</guid>
      <dc:creator>MiteshDasani</dc:creator>
      <dc:date>2018-07-12T03:48:00Z</dc:date>
    </item>
    <item>
      <title>Hi,
IS this error message…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53473#M8132</link>
      <description>Hi,
IS this error message resolved for you using powershell?
I get the same message running powershell commands to export. Any help is appreciated
&amp;nbsp;
Thank you</description>
      <pubDate>Thu, 17 Jan 2019 00:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53473#M8132</guid>
      <dc:creator>HIMAKOMMINENI</dc:creator>
      <dc:date>2019-01-17T00:28:00Z</dc:date>
    </item>
    <item>
      <title>+1: I also have the same…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53474#M8133</link>
      <description>+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&amp;nbsp;cmd.exe /c ""..."" or&amp;nbsp;cmd.exe /k ""..."" but it returns&amp;nbsp; the same error message as below.
Does anyone have at least a temporary workaround?
&amp;nbsp;at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
&amp;nbsp; &amp;nbsp;at System.Console.GetBufferInfo(Boolean throwOnNoConsole, Boolean&amp;amp; succeeded)
&amp;nbsp; &amp;nbsp;at AutomateC.AutomateC.ReportProgress(Int32 perc, Object msg)
&amp;nbsp; &amp;nbsp;at BluePrism.BPCoreLib.clsProgressMonitor.OnProgressChanged(Int32 value, Object data)
&amp;nbsp; &amp;nbsp;at BluePrism.AutomateAppCore.clsRelease.WriteXmlHead(XmlWriter writer)
&amp;nbsp; &amp;nbsp;at BluePrism.AutomateAppCore.PackageComponent.ToXml(XmlWriter writer)
&amp;nbsp; &amp;nbsp;--- End of inner exception stack trace ---
&amp;nbsp; &amp;nbsp;at BluePrism.AutomateAppCore.PackageComponent.ToXml(XmlWriter writer)
&amp;nbsp; &amp;nbsp;at BluePrism.AutomateAppCore.clsRelease.Export(Stream stream, clsProgressMonitor mon)
&amp;nbsp; &amp;nbsp;at BluePrism.AutomateAppCore.clsRelease.Export(FileInfo file, Boolean compress, clsProgressMonitor mon)
&amp;nbsp; &amp;nbsp;at AutomateC.AutomateC.Run(String[] args)</description>
      <pubDate>Fri, 01 Mar 2019 14:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53474#M8133</guid>
      <dc:creator>ZoltánCsetényi</dc:creator>
      <dc:date>2019-03-01T14:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Continuous Integration with jenkins fails</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53475#M8134</link>
      <description>&lt;P&gt;I have successfully implemented with either using windows cmd or python as build steps.&lt;/P&gt;
&lt;P&gt;Automatec doesnt work in powershell.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bhagavathsingh Raamsingh&lt;BR /&gt;Senior Administrator&lt;BR /&gt;Wipro&lt;BR /&gt;America/New_York&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Oct 2019 15:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53475#M8134</guid>
      <dc:creator>BhagavathsinghR</dc:creator>
      <dc:date>2019-10-10T15:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: Continuous Integration with jenkins fails</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53476#M8135</link>
      <description>AutomateC does work in PowerShell. What causes you to say it doesn't?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Oct 2019 15:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53476#M8135</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-10-10T15:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: Continuous Integration with jenkins fails</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53477#M8136</link>
      <description>The challenge is when you try to execute AutomateC from powershell using Start-Process.&amp;nbsp; &amp;nbsp;If you are doing something with /exportpackage AutomateC needs to be able to stream the results of the operation to the command window.&amp;nbsp; &amp;nbsp;From what I can tell this is an issue when running with powershell.&amp;nbsp; Which is why we keep getting the Invalid Handle exception.&amp;nbsp; In this example the name of the release I'm trying to Export is&amp;nbsp;EFT_012720_174239.&amp;nbsp; &amp;nbsp;In the UI I can see the release was created under the correct package just as expected.&amp;nbsp; The problem is the actual&amp;nbsp;EFT_012720_174239.bprelease file was never created due to the error.&amp;nbsp; &amp;nbsp;Since I was trying to do this as a part of some CI/CD Setup Most of my powershell script is around selecting the package, collecting credentials and generating a unique release name based on the selected package and the current time.&amp;nbsp; &amp;nbsp;If I take the command that is generated from the rest of the script and just paste it into a command window it executes perfectly.&amp;nbsp; &amp;nbsp;See the Exception Below.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Error processing action: exportpackage.&lt;BR /&gt;BluePrism.BPCoreLib.BluePrismException: Failed writing XML for type: releaseout; ID: ; Name: EFT_012720_174239; Error message: The handle is invalid.&lt;BR /&gt; ---&amp;gt; System.IO.IOException: The handle is invalid.&lt;BR /&gt;&lt;BR /&gt; at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)&lt;BR /&gt; at System.Console.SetCursorPosition(Int32 left, Int32 top)&lt;BR /&gt; at AutomateC.AutomateC.o(Int32 aq, Object ar)&lt;BR /&gt; at BluePrism.BPCoreLib.clsProgressMonitor.OnProgressChanged(Int32 value, Object data)&lt;BR /&gt; at BluePrism.AutomateAppCore.clsRelease.WriteXmlHead(XmlWriter writer)&lt;BR /&gt; at BluePrism.AutomateAppCore.PackageComponent.ToXml(XmlWriter writer)&lt;BR /&gt; --- End of inner exception stack trace ---&lt;BR /&gt; at BluePrism.AutomateAppCore.PackageComponent.ToXml(XmlWriter writer)&lt;BR /&gt; at BluePrism.AutomateAppCore.clsRelease.Export(Stream stream, clsProgressMonitor mon)&lt;BR /&gt; at BluePrism.AutomateAppCore.clsRelease.Export(FileInfo file, Boolean compress, clsProgressMonitor mon)&lt;BR /&gt; at AutomateC.AutomateC.j(String[] s)&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jessie Brooks&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Jan 2020 22:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Continuous-Integration-with-jenkins-fails/m-p/53477#M8136</guid>
      <dc:creator>jessie.brooks</dc:creator>
      <dc:date>2020-01-27T22:48:00Z</dc:date>
    </item>
  </channel>
</rss>

