<?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: Jenkins CI build job, missing reference project in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Jenkins-CI-build-job-missing-reference-project/m-p/2309481#M145329</link>
    <description>&lt;P&gt;Successfully created a batch script&amp;nbsp;that is called as a pre-build step that will&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;clone the reference project repository into a temp directory&lt;/LI&gt;
 &lt;LI&gt;move the folder into the workspace of the original&amp;nbsp;Talend project&lt;/LI&gt;
 &lt;LI&gt;clean-up of temp directory&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Aug 2017 17:08:54 GMT</pubDate>
    <dc:creator>mayo</dc:creator>
    <dc:date>2017-08-11T17:08:54Z</dc:date>
    <item>
      <title>Jenkins CI build job, missing reference project</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Jenkins-CI-build-job-missing-reference-project/m-p/2309476#M145322</link>
      <description>&lt;P&gt;With Jenkins my build job (generate sources) successfully downloads a BitBucket repository, however eventually the job gives the following error when invoking CI Builder:&lt;/P&gt; 
  &lt;P&gt;&lt;EM&gt;[INFO] exception : org.talend.commandline.client.command.CommandStatusWrapException: org.talend.commons.exception.LoginException: Missing the reference project for "SANDBOX", please make sure the reference projects must be existed in same workspace too.&lt;/EM&gt;&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;What's the proper way to handle reference projects in my Jenkin's build job? &amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Build&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt; 
  &lt;P&gt;Talend 6.3.1&lt;/P&gt; 
  &lt;P&gt;Jenkins 2.60.2&lt;/P&gt; 
  &lt;P&gt;Maven 3.5.0&lt;/P&gt; 
  &lt;P&gt;Nexus 2.11.3&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Error stack&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt; 
 &lt;BR /&gt;&lt;BR /&gt;To see the whole post, download it &lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Mcpb" target="_blank"&gt;here&lt;/A&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Jenkins-CI-build-job-missing-reference-project/m-p/2309476#M145322</guid>
      <dc:creator>mayo</dc:creator>
      <dc:date>2024-11-16T09:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Jenkins CI build job, missing reference project</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Jenkins-CI-build-job-missing-reference-project/m-p/2309477#M145324</link>
      <description>&lt;P&gt;Tested this, i can reproduce it and fix it. The issue here is in fact that when you have the project defined like below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;MAIN:&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;PRE&gt;http://localhost:8181/git/r/MAIN.git&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;REFERENCE:&amp;nbsp;&lt;PRE&gt;http://localhost:8181/git/r/REFERENCE.git&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Even if you defined the two URL in your buildSource definition, see the screenshot attached. With that only one project&lt;BR /&gt;is checked, I had to manually copy paste the second project missing. To avoid this issue related to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;jenkins i had to use one single repository for the two projects:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;http://localhost:8181/git/r/tac631.git&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LsJH"&gt;ref-main-git-ci.png&lt;/A&gt;</description>
      <pubDate>Tue, 08 Aug 2017 16:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Jenkins-CI-build-job-missing-reference-project/m-p/2309477#M145324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-08T16:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Jenkins CI build job, missing reference project</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Jenkins-CI-build-job-missing-reference-project/m-p/2309478#M145326</link>
      <description>Thank you for the response eTechman! 
&lt;BR /&gt; 
&lt;BR /&gt;So when you say you had to use one single repo for 2 projects, does this mean you created 1 repository in BitBucket and referenced it from 2 different projects within TAC? Or does this mean there's some way within BitBucket to create a git URL reference that points to 2 different BitBucket repos?</description>
      <pubDate>Tue, 08 Aug 2017 16:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Jenkins-CI-build-job-missing-reference-project/m-p/2309478#M145326</guid>
      <dc:creator>mayo</dc:creator>
      <dc:date>2017-08-08T16:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Jenkins CI build job, missing reference project</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Jenkins-CI-build-job-missing-reference-project/m-p/2309479#M145327</link>
      <description>&lt;P&gt;Submitted a support ticket and they gave some great advice.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;STRONG&gt;Created By:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://talendsupport.force.com/CustomerCommunity/00570000004X0r6" target="_blank" rel="nofollow noopener noreferrer"&gt;Evan Teitelbaum&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(8/8/2017 11:27 AM)&lt;/STRONG&gt; 
 &lt;BR /&gt; 
 &lt;SPAN&gt;Hello Al,&amp;nbsp;&lt;/SPAN&gt; 
 &lt;BR /&gt; 
 &lt;BR /&gt; 
 &lt;SPAN&gt;Jenkins can only checkout one project at a time and this is why you are getting this issue. The solution here is to checkout the project so that under the workspace folder you have the project folder for the main and the reference project. Or you can do a git checkout anywhere else and then copy the project folder over into the CI's cmdline workspace folder. Then after you build again after this step please let us know if you still have this issue.&amp;nbsp;&lt;/SPAN&gt; 
 &lt;BR /&gt; 
 &lt;BR /&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;I did a checkout in another directory and copied it to the other project. &amp;nbsp;You have to make sure you copy the reference project root to match the original talend project, the parent folder of all the talend-generated folders. &amp;nbsp;I ran my Jenkins job and it built successfully.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I will&amp;nbsp;now attempt to automate this into a pre-build script.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 20:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Jenkins-CI-build-job-missing-reference-project/m-p/2309479#M145327</guid>
      <dc:creator>mayo</dc:creator>
      <dc:date>2017-08-10T20:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Jenkins CI build job, missing reference project</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Jenkins-CI-build-job-missing-reference-project/m-p/2309480#M145328</link>
      <description>Accepted eTechman answer as solution since he had the same advice, to copy-paste the project.</description>
      <pubDate>Thu, 10 Aug 2017 20:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Jenkins-CI-build-job-missing-reference-project/m-p/2309480#M145328</guid>
      <dc:creator>mayo</dc:creator>
      <dc:date>2017-08-10T20:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Jenkins CI build job, missing reference project</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Jenkins-CI-build-job-missing-reference-project/m-p/2309481#M145329</link>
      <description>&lt;P&gt;Successfully created a batch script&amp;nbsp;that is called as a pre-build step that will&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;clone the reference project repository into a temp directory&lt;/LI&gt;
 &lt;LI&gt;move the folder into the workspace of the original&amp;nbsp;Talend project&lt;/LI&gt;
 &lt;LI&gt;clean-up of temp directory&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 17:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Jenkins-CI-build-job-missing-reference-project/m-p/2309481#M145329</guid>
      <dc:creator>mayo</dc:creator>
      <dc:date>2017-08-11T17:08:54Z</dc:date>
    </item>
  </channel>
</rss>

