<?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: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process in Continuous Integration</title>
    <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451541#M7</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thilprakash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The error you're seeing here is because it's expecting an "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;...." address to your SVN repo. If you'd like Jenkins to pull from a local directory on your computer, the easier way to do it (in my experience at least, there could be a better way) would be as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Set the SCM to None instead of SVN.&lt;/P&gt;&lt;P&gt;2. Set your workspace path (via Manage Jenkins &amp;gt;&amp;gt; Configure System, then under "Home Directory" click advanced and change the workspace root directory) to be "E:\SENTHIL\Projects\${ITEM_FULL_NAME}" (Where item full name is a query within jenkins, not something you fill in, i.e. you'd copy over that path directly into the jenkins workspace path).&lt;/P&gt;&lt;P&gt;3. Make sure your Jenkins project name is "Test Auto Build" to match the name of the folder you're pointing to at "E:\SENTHIL\Projects\Test Auto Build" (since it'll append the project name based on the "Item_Full_Name query string we used above).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then when you build the project it'll look in that local folder for the files to be built.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Sep 2015 14:52:28 GMT</pubDate>
    <dc:creator>Ryan_S</dc:creator>
    <dc:date>2015-09-17T14:52:28Z</dc:date>
    <item>
      <title>General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451540#M6</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This thread can be for general thoughts/questions about the batch file build process I discuss in my presentation &lt;A _jive_internal="true" href="https://ni.lithium.com/docs/DOC-43639"&gt;here&lt;/A&gt; and the getting started guide &lt;A _jive_internal="true" href="https://ni.lithium.com/docs/DOC-43900"&gt;here&lt;/A&gt;. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 17:02:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451540#M6</guid>
      <dc:creator>Ryan_S</dc:creator>
      <dc:date>2015-09-10T17:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451541#M7</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thilprakash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The error you're seeing here is because it's expecting an "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;...." address to your SVN repo. If you'd like Jenkins to pull from a local directory on your computer, the easier way to do it (in my experience at least, there could be a better way) would be as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Set the SCM to None instead of SVN.&lt;/P&gt;&lt;P&gt;2. Set your workspace path (via Manage Jenkins &amp;gt;&amp;gt; Configure System, then under "Home Directory" click advanced and change the workspace root directory) to be "E:\SENTHIL\Projects\${ITEM_FULL_NAME}" (Where item full name is a query within jenkins, not something you fill in, i.e. you'd copy over that path directly into the jenkins workspace path).&lt;/P&gt;&lt;P&gt;3. Make sure your Jenkins project name is "Test Auto Build" to match the name of the folder you're pointing to at "E:\SENTHIL\Projects\Test Auto Build" (since it'll append the project name based on the "Item_Full_Name query string we used above).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then when you build the project it'll look in that local folder for the files to be built.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 14:52:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451541#M7</guid>
      <dc:creator>Ryan_S</dc:creator>
      <dc:date>2015-09-17T14:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451542#M8</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot for the efforts in the presentation &amp;amp; the getting started.&lt;/P&gt;&lt;P&gt;I tried to run builds as described, but I have some trouble:&lt;/P&gt;&lt;P&gt;SCM checkouts work perfectly, but I receive frequent error in the LabVIEWbuild.bat&lt;/P&gt;&lt;P&gt;Every other try, LabVIEW does not launch (I removed the -unattended option for debugging). If it launches, it'll abort almost immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a bit unreliable on my machine.&lt;/P&gt;&lt;P&gt;Do you have any ideas? So far, I'm using only Version 2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Oli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 13:53:54 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451542#M8</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2015-10-02T13:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451543#M9</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Oli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, glad you found the presentation and guide useful, that's great to hear &lt;IMG src="http://forums.ni.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the issue you're hitting, I haven't seen that before. But, it's possible there's something I'm setting that I forgot to put in the guide. To investigate further, a couple questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Can you attach the output of the Jenkins console for a successful and failed build?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Whenever the build.bat process (or its sub-processes) encounter an error they should get logged to a file in the c:\autobuild directory. Likely named something like: "CI_0_Error2013.txt" if it's running on executor 0 for your 2013 version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Since you're only running for 2013, do you see any difference in behavior if you command the batch file to only build in 2013 instead of letting it auto-determine the version? You would change your call in Jenkins to be something along the lines of "C:\Autobuild\build.bat 2013" (remember, the batch file is parameterized and specific build version is the first input). This might narrow down if there's a version decision problem occuring, in which case can you also attach your version of build.bat? (I assume you've changed it for your versions of LabVIEW).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Are you running more than one build at a time? If so, we're probable encountering an instancing problem. Try adding the ini token "allowmultipleinstances=True" to the LabVIEW.ini file in your "&amp;lt;Program Files&amp;gt;\National Instruments\LabVIEW 2013" directory. I recently realized I left that out of the getting started guide and you'll need it if you want to run multiple builds (see &lt;A href="http://digital.ni.com/public.nsf/allkb/AB268878693EF4B586257037004A6725"&gt;here&lt;/A&gt; for more info).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should give me a better glimpse into what's happening. --Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 18:24:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451543#M9</guid>
      <dc:creator>Ryan_S</dc:creator>
      <dc:date>2015-10-06T18:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451544#M10</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the suggestions &lt;IMG src="http://forums.ni.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, my problem is even more basic: I have scrapped my modified LabVIEWBuld.bat and switched back to the original from github.&lt;/P&gt;&lt;P&gt;IMHO, LabVIEW does not start up at all! The console shows shows the execution of the START command (no error) and the waiting loop keeps running. But no LabVIEW process can be seen in the task manager with or without the unattended option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the screenshots attached.The error file you've mentioned is empty.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="193396" alt="Build_Log_StartLV.png" class="jive-image-thumbnail jive-image" src="http://forums.ni.com/legacyfs/online/193396_Build_Log_StartLV.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="193397" alt="Build_Log_no_unattended.png" class="jive-image-thumbnail jive-image" src="http://forums.ni.com/legacyfs/online/193397_Build_Log_no_unattended.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Using LabVIEW version on Autobuild.Bat call makes no difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far I haven't tried any parallel builds, since I wanted to take steps one by one. &lt;IMG src="http://forums.ni.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addtional information: I copied the parameterized START command from Jenkins' command line display to paste and execute directly from command line: it runs out, LabVIEW starts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there possibly an access permission issue with the start command of the batch? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 09:28:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451544#M10</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2015-10-07T09:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451545#M11</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some more research .... it's getting weirder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I start the Build.bat from the command line, LabVIEW starts up with the correct VIs.&lt;/P&gt;&lt;P&gt;This kinda confirmed the access rights issue to me, so I started to check the Jenkins Service settings. &lt;/P&gt;&lt;P&gt;I enabled an option called "Enable data transfer between service &amp;amp; desktop" (direct translation from German). When I tried again, a dialog window appeared stating, that the service has issued a notification. It turns out, that LabVIEW is showing the License Server dialogue stating my local license has run out. That's probably the reason why LabVIEW seems not to be starting.&lt;/P&gt;&lt;P&gt;But I'm running on a license from our volume license server. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMHO, Jenkins is running in a different user context that doesn't allow the usage of my volume license...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 14:17:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451545#M11</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2015-10-07T14:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451546#M12</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Oli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kudos on the investigation, the console does seem to confirm that LabVIEW is being launched but is never fully initializing; which would make sense if the licensing pop-up is stopping LabVIEW from fully launching. A couple thoughts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. When you saw the pop-up, was there an option to continue? I.E. did it default to some temp license or not let you launch LabVIEW at all? If it's defaulting to a temp license I think I remember there being a command line command we could add to build.bat to automatically accept that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. A disconnected license file might be an option, although that would be up to you and your VLA admin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. If you simplify this to having a batch file that just launches LabVIEW, does that run successfully in Jenkins? Maybe there's something else in the current build.bat that's affecting the launch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Overall, since this appears to have to do with LabVIEW properly getting a license when launched from the Jenkins context I would recommend contacting your local &lt;A href="http://www.ni.com/support/"&gt;support&lt;/A&gt; and talking to the licensing team. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if they have ideas about how to make sure a valid license is obtained. Maybe there's something we can edit from the command line calls (the simple test, #3, would be good to try stuff with), or maybe we need to assign the jenkins process to a certain user. It's been a while since I've dealt with licensing servers so I'm just spitballing. But they should be able to give you some ideas on ways to make sure Jenkins is able to launch LabVIEW from a batch call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep me updated and I'll try to help where possible. --Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 16:44:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451546#M12</guid>
      <dc:creator>Ryan_S</dc:creator>
      <dc:date>2015-10-07T16:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451547#M13</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to answer yout questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) There is a possiblity to continue if evaluation time is left. Which is not on my PC &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; In fact, it didn't let me launch LV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.) I've tried the disconnected license this morning: it also does not seem to work also. I suspect that there is a difference between the user name on the license server (or in the disconncted file) and the one I can assign the Jenkins service to:&lt;/P&gt;&lt;P&gt;WHOAMI on the commandline gives me&lt;/P&gt;&lt;P&gt; myorg\john.doe&lt;/P&gt;&lt;P&gt;whereas the user name for the service must be &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-email-small" href="mailto:john.doe@local.myorg.com" target="_blank"&gt;john.doe@local.myorg.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So maybe a computer based license could solve the issue. But there is none available at my company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.) Have tried this also: LabVIEW doesn't start, even if the batch only calls the .exe without parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have started a request in the Volume License Forum, if there is a possibility to start LabVIEW with a parameter specifing a user. In parallel, I'll try what our local support here can do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Oli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 08:22:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451547#M13</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2015-10-08T08:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451548#M14</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Oli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like you've identified the problem, hopefully support can give you some ideas on getting the license to be accepted. You might also search around the jenkins forums to see if there's a way to assign the jenkins process to the user account you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 16:01:32 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451548#M14</guid>
      <dc:creator>Ryan_S</dc:creator>
      <dc:date>2015-10-08T16:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451549#M15</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after talking to my IT guys, Jenkins and LabVIEW are up and running &lt;IMG src="http://forums.ni.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;What I had to learn is that there is (at least officially) no way to start LabVIEW with a given user name. It always uses the windows user to contact the license sever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 14:54:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451549#M15</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2015-10-09T14:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451550#M16</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Oli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's great to hear! I'm glad everything is working; let me know if you have any feedback on the batch file system itself or the getting started doc. Again, glad you found this approach with Jenkins useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! --Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 16:38:31 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451550#M16</guid>
      <dc:creator>Ryan_S</dc:creator>
      <dc:date>2015-10-09T16:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451551#M17</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I keep putting more and more build jobs for ppls into Jenkins. An issue I have seen is that builds with dependencies seem to be a problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say libraries B &amp;amp; C are depending on library A. I have configured the build jobs for B&amp;amp;C to be triggered on sucessfull build of library A. Jenkins starts both builds in parallel, but only one succeeds, the other on will be hund after some time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody else seen this behaviour?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Oli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 15:52:59 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451551#M17</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2015-11-11T15:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451552#M18</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, well you can definitely have problems if you're using shared resources (i.e. if you tried to run 2 VI package build jobs they would clash and 1 or both would hang since VIPM is a shared resource) but I guess it depends on how you're calling the library. Are you having jobs B &amp;amp; C reference the same built copy of A? Usuaully you would have B &amp;amp; C pull a copy of A into their individual workspaces for their build and I can't see that causing problems since even though it's the same named library they'd be in different instances of LabVIEW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Ryan_S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 23:08:36 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451552#M18</guid>
      <dc:creator>Ryan_S</dc:creator>
      <dc:date>2015-11-11T23:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451553#M19</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dependencies are ok,&amp;nbsp; at the moment I even have lib A directly placed in the respective source directory of Libs B &amp;amp; C. (will be an external definition in SVN as soon as I have defined, where the respective libs will be placed within the repo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But yes, I guess there is some issue about shared ressources. If a build gets hung on the console output you can see, that the build.vi is never called (autobuild.csv not read) since the console output is completely missing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to verify and found out, that this time, two builds would run in parallel (manually started), the third one was started a moment later and got stuck. I suppose there is some issue with the files used for synchronization of Jenkins &amp;amp; the LabVIEW build process.&lt;/P&gt;&lt;P&gt;At the moment I can live with this, it's a known issue and there is a (at least for the moment) feasible workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your ongoing support! &lt;IMG src="http://forums.ni.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 07:08:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451553#M19</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2015-11-12T07:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451554#M20</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just another hint for all users&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have stumbled across the issue, that consecutive builds would fail reporting &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Error 74: Invalid data structure ....&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This turns out to be an issue of of the SCC checkout strategy for the particular job: it disappeared when I set it to &lt;EM&gt;&lt;STRONG&gt;Always check out a fresh copy&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 07:14:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451554#M20</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2015-11-12T07:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451555#M21</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Me again &lt;IMG src="http://forums.ni.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I eventually made it to configure a build using more than one LabVIEW Version.&lt;/P&gt;&lt;P&gt;My current active version is 2013, I added 2014.&lt;/P&gt;&lt;P&gt;Things which made me stumble:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI style="text-align: start;"&gt; Building only in 2014 failed (no response from LabVIEW on the console output) due to missing OpenG VIs in 2014&lt;BR /&gt;&lt;STRONG&gt;Possible Solution&lt;/STRONG&gt;: Try to open (not save!) Build.vi with every version you want to use and check for errors&lt;/LI&gt;&lt;LI style="text-align: start;"&gt;Consecutive builds can cause license trouble if you're running on a VLA license: LV2013 does not shut down, before 2014 launches and tries to check out a license. &lt;BR /&gt;&lt;STRONG&gt;Possible Solution&lt;/STRONG&gt;: Configure LabVIEW to ignore these errors and NOT show a dialog box (which causes LV to "hang" when running in the background). Telling from the task manager, LabVIEW 2013 seems to not shut down before both builds are finished &lt;IMG src="http://forums.ni.com/legacyfs/online/emoticons/shocked.png" /&gt; &lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 16:02:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451555#M21</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2016-01-25T16:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451556#M22</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Oli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for posting these back to the community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've never tried to run jenkins on a VLA; kudos for troubleshooting and working around those errors!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Ryan_S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 16:11:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451556#M22</guid>
      <dc:creator>Ryan_S</dc:creator>
      <dc:date>2016-01-25T16:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451557#M23</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Coming up with a new issue today:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lately, I have started organizing my build jobs on Jenkins using folders to clean up a bit. This went along with Build.vi throwing funny errors of not having found some paths. This error occured always after the execution of the last build item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diggin a bit deeper, I found out, that Build.vi creates (temporary) folders in C:\Builds which seems to cause troubles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I moved my Build Job back to Jenkins root.... et voilá everything is working again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case somebody else stumbles across sth like this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 15:18:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451557#M23</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2016-03-04T15:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451558#M24</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Oli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, build.vi copies all of the completed built files to c:\builds at the end of the build process. We use this in our process so that we can network share that folder and others can access the latest builds. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't need this functionality, you can diagram disable (or delete) the copy code in build.vi. It won't affect any of the core building features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Ryan_S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 15:42:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451558#M24</guid>
      <dc:creator>Ryan_S</dc:creator>
      <dc:date>2016-03-04T15:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: General Discussion/Questions about LabVIEW/Jenkins with the Batch File Build Process</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451559#M25</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys... Good day to you all..!&amp;nbsp; Kudos to Ryan_S for this effort... I gave a sample try with my LabVIEW 2014 and I'm stopped with some issues.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I am able to run build.bat with arguments to trigger the build from cmd prompt, however when I build with Jenkins I'm getting the PING error (quoted below)... I am sure my environment variables are set properly and so the build.bat executes without issue when I run it independently.&lt;/LI&gt;&lt;LI&gt;I found that build.bat file needs some 5 arguments which is not explained in the document.&amp;nbsp; I gave these arguments (highlighted in below quoted text) explicitly in Jenkin configuration.&amp;nbsp; Is this correct way?&amp;nbsp; If not, from where these arguments comes to batch file?does the Jenkin will pass these arguments?&lt;/LI&gt;&lt;LI&gt;I found that indexing of the command line arguments is started at "1" in "Build.vi".&amp;nbsp; Only after chaning that to "0" and other indices, my direct execution of build.bat worked in cmd prompt.&amp;nbsp; Is that indexing from "1" is intentional?&lt;/LI&gt;&lt;/OL&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Started by user &lt;A class="model-link" href="http://localhost:8080/user/null"&gt;anonymous&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Building in workspace C:\Program Files (x86)\Jenkins\workspace\Sample Project Build&lt;/P&gt;&lt;P&gt;Updating &lt;A href="https://svn.tessolve.com/svn/LabAutomation/Workspaces/Ajay"&gt;https://svn.tessolve.com/svn/LabAutomation/Workspaces/Ajay&lt;/A&gt; Workspace/JenkingTest at revision '2016-05-11T16:01:47.614 +0530'&lt;/P&gt;&lt;P&gt;AU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sample Proj.lvlps&lt;/P&gt;&lt;P&gt;AU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sample Proj.aliases&lt;/P&gt;&lt;P&gt;AU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Autobuild.csv&lt;/P&gt;&lt;P&gt;U&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sample Proj.lvproj&lt;/P&gt;&lt;P&gt;At revision 1723&lt;/P&gt;&lt;P&gt;[Sample Project Build] $ cmd /c call C:\Windows\TEMP\hudson4211982921074233364.bat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\Jenkins\workspace\Sample Project Build&amp;gt;C:\Autobuild\Jenkins-Autobuild\build.bat &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;STRONG&gt;2014 "D:\Workspace (Ajay SVN)\JenkingTest" f "" 0&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Skipping version check on request&lt;/P&gt;&lt;P&gt;Running specific version build: LabVIEW 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Starting 2014 build...&lt;/P&gt;&lt;P&gt;'PING' is not recognized as an internal or external command,&lt;/P&gt;&lt;P&gt;operable program or batch file.&lt;/P&gt;&lt;P&gt;'PING' is not recognized as an internal or external command,&lt;/P&gt;&lt;P&gt;operable program or batch file.&lt;/P&gt;&lt;P&gt;'PING' is not recognized as an internal or external command,&lt;/P&gt;&lt;P&gt;operable program or batch file.&lt;/P&gt;&lt;P&gt;'PING' is not recognized as an internal or external command,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ajay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 13:27:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/General-Discussion-Questions-about-LabVIEW-Jenkins-with-the/m-p/3451559#M25</guid>
      <dc:creator>Ajay_MV</dc:creator>
      <dc:date>2016-05-11T13:27:28Z</dc:date>
    </item>
  </channel>
</rss>

