<?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 Re: LabVIEWCLI Error 1370 with Gitlab CI in Continuous Integration</title>
    <link>https://ni.lithium.com/t5/Continuous-Integration/LabVIEWCLI-Error-1370-with-Gitlab-CI/m-p/4241137#M427</link>
    <description>&lt;P&gt;We are facing the build issue with packed library file when triggered from Jenkins&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jul 2022 06:55:48 GMT</pubDate>
    <dc:creator>AryaStark92</dc:creator>
    <dc:date>2022-07-05T06:55:48Z</dc:date>
    <item>
      <title>LabVIEWCLI Error 1370 with Gitlab CI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/LabVIEWCLI-Error-1370-with-Gitlab-CI/m-p/4111783#M361</link>
      <description>&lt;P&gt;Hello integrators,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I set up a continuous integration job with Gitlab that is supposed to build executable and installer of an application with two calls to LabVIEWCLI. The executable is built successfully but the installer build fails with this error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error Code : 1370&lt;BR /&gt;Error Message : mxLvErrorHandler.vi:2660001&lt;BR /&gt;An error occurred while running the ExecuteBuildSpec operation.&lt;BR /&gt;ExecuteBuildSpec operation failed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Running the builds from a command line or from within LabVIEW works, so it should not be an error in the build spec.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas what could be causing this? Does anyone use this approach or should I create an artifact from the executable to be picked up by another job? Splitting into multiple stages at least didn't work.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 13:22:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/LabVIEWCLI-Error-1370-with-Gitlab-CI/m-p/4111783#M361</guid>
      <dc:creator>cordm</dc:creator>
      <dc:date>2021-01-11T13:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: LabVIEWCLI Error 1370 with Gitlab CI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/LabVIEWCLI-Error-1370-with-Gitlab-CI/m-p/4241137#M427</link>
      <description>&lt;P&gt;We are facing the build issue with packed library file when triggered from Jenkins&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 06:55:48 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/LabVIEWCLI-Error-1370-with-Gitlab-CI/m-p/4241137#M427</guid>
      <dc:creator>AryaStark92</dc:creator>
      <dc:date>2022-07-05T06:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: LabVIEWCLI Error 1370 with Gitlab CI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/LabVIEWCLI-Error-1370-with-Gitlab-CI/m-p/4241147#M428</link>
      <description>&lt;P&gt;Have you checked if the CLI calls are made by the correct user? I don't use Jenkins but with Gitlab and the Gitlab runners we often had problems that they run scripts with a local system account which led to numerous problems regarding access rights.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 08:12:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/LabVIEWCLI-Error-1370-with-Gitlab-CI/m-p/4241147#M428</guid>
      <dc:creator>Jens_S</dc:creator>
      <dc:date>2022-07-05T08:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: LabVIEWCLI Error 1370 with Gitlab CI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/LabVIEWCLI-Error-1370-with-Gitlab-CI/m-p/4241157#M429</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/400494"&gt;@cordm&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Any ideas what could be causing this? Does anyone use this approach or should I create an artifact from the executable to be picked up by another job? Splitting into multiple stages at least didn't work.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I can't speak to the LabVIEWCLI (as we use the G-CLI), but we also execute multiple build specs within a single job to avoid unneeded artifacts. That should not be a problem. We've been doing that on GitLab/gitlab-runner, Bitbucket/Jenkins and Azure DevOps/agent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do you start the gitlab-runner? If you're starting it as a service, I highly recommend running it from a regular PowerShell, which should make debugging much easier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: Cord, If you're coming to &lt;A href="http://bit.ly/WUELUG16" target="_self"&gt;WUELUG#16&lt;/A&gt; we could have a chat &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 09:03:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/LabVIEWCLI-Error-1370-with-Gitlab-CI/m-p/4241157#M429</guid>
      <dc:creator>joerg.hampel</dc:creator>
      <dc:date>2022-07-05T09:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: LabVIEWCLI Error 1370 with Gitlab CI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/LabVIEWCLI-Error-1370-with-Gitlab-CI/m-p/4241256#M430</link>
      <description>&lt;P&gt;Curious why you are avoiding artifacts?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 14:12:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/LabVIEWCLI-Error-1370-with-Gitlab-CI/m-p/4241256#M430</guid>
      <dc:creator>Taggart</dc:creator>
      <dc:date>2022-07-05T14:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: LabVIEWCLI Error 1370 with Gitlab CI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/LabVIEWCLI-Error-1370-with-Gitlab-CI/m-p/4241293#M431</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/91668"&gt;@Taggart&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Curious why you are avoiding artifacts?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It's not so much about &lt;EM&gt;avoiding&lt;/EM&gt; but rather using them where they make sense for us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;We have our own mechanism for providing the pipeline's results, so we don't use artifacts for that (read: we have no need for build results in the artifacts).&lt;/LI&gt;&lt;LI&gt;By combining multiple executions into a single job, we save time - both for not having to start another job and for not having to upload/download artifacts.&lt;/LI&gt;&lt;LI&gt;We do use artifacts for the reports (unit tests, VI Analyzer, documentation, DQMH Validator), which are convenient to browser from the web UI and which are kept (not deleted after a certain amount of time).&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 05 Jul 2022 17:06:59 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/LabVIEWCLI-Error-1370-with-Gitlab-CI/m-p/4241293#M431</guid>
      <dc:creator>joerg.hampel</dc:creator>
      <dc:date>2022-07-05T17:06:59Z</dc:date>
    </item>
  </channel>
</rss>

