<?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 Jenkins - BuildSources Fails CommandLine in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Jenkins-BuildSources-Fails-CommandLine/m-p/2306453#M144015</link>
    <description>&lt;P&gt;Following the instructions to setup a Jenkins BuildSources job as outlined in the &lt;A href="https://help.talend.com/reader/mpVLyjeAbBh7eHWdz_0SlQ/HF8MMjUq3bllDlzOz2lqxw" target="_self" rel="nofollow noopener noreferrer"&gt;best practices guide&lt;/A&gt;.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The job is successfully hooked up to our GitHub repo, but upon running it fails with a NoClassDefFoundError.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;java.lang.NoClassDefFoundError: org/talend/commandline/client/util/ConsoleUtil&lt;/PRE&gt; 
&lt;P&gt;Output from Jenkins console:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------&amp;lt; org.talend:buildsources &amp;gt;-----------------------
[INFO] Building buildsources 4.6.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- ci.builder:6.4.1:local-generate (default-cli) @ buildsources ---
[INFO] 
[INFO] *****************************************************
[INFO] List projects from:/opt/talend/talend-6.4.1/cmdline/studio/commandline-workspace/
[INFO]   Not valid folder (no talend project) in:.JETEmitters
[INFO]   Not valid folder (no talend project) in:.Java
[INFO]   Not valid folder (no talend project) in:.metadata
[INFO]   Not valid folder (no talend project) in:.repositories
[INFO] 
[INFO] Creating the detected projects for Commandline workspace.
[INFO]  Setting property: classpath.resource.loader.class =&amp;gt; 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO]  Setting property: velocimacro.messages.on =&amp;gt; 'false'.
[INFO]  Setting property: resource.loader =&amp;gt; 'classpath'.
[INFO]  Setting property: resource.manager.logwhenfound =&amp;gt; 'false'.
[ERROR] Exception in thread "Thread-3" java.lang.NoClassDefFoundError: org/talend/commandline/client/util/ConsoleUtil
[ERROR]     at org.talend.commandline.CommandLineApplication$2.run(CommandLineApplication.java:371)
[ERROR] Caused by: java.lang.ClassNotFoundException: org.talend.commandline.client.util.ConsoleUtil cannot be found by org.talend.commandline_6.4.1.20170623_1246
[ERROR]     at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)
[ERROR]     at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
[ERROR]     at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
[ERROR]     at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
[ERROR]     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[ERROR]     ... 1 more&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Where do I find this missing class?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 08:31:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T08:31:28Z</dc:date>
    <item>
      <title>Jenkins - BuildSources Fails CommandLine</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Jenkins-BuildSources-Fails-CommandLine/m-p/2306453#M144015</link>
      <description>&lt;P&gt;Following the instructions to setup a Jenkins BuildSources job as outlined in the &lt;A href="https://help.talend.com/reader/mpVLyjeAbBh7eHWdz_0SlQ/HF8MMjUq3bllDlzOz2lqxw" target="_self" rel="nofollow noopener noreferrer"&gt;best practices guide&lt;/A&gt;.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The job is successfully hooked up to our GitHub repo, but upon running it fails with a NoClassDefFoundError.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;java.lang.NoClassDefFoundError: org/talend/commandline/client/util/ConsoleUtil&lt;/PRE&gt; 
&lt;P&gt;Output from Jenkins console:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------&amp;lt; org.talend:buildsources &amp;gt;-----------------------
[INFO] Building buildsources 4.6.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- ci.builder:6.4.1:local-generate (default-cli) @ buildsources ---
[INFO] 
[INFO] *****************************************************
[INFO] List projects from:/opt/talend/talend-6.4.1/cmdline/studio/commandline-workspace/
[INFO]   Not valid folder (no talend project) in:.JETEmitters
[INFO]   Not valid folder (no talend project) in:.Java
[INFO]   Not valid folder (no talend project) in:.metadata
[INFO]   Not valid folder (no talend project) in:.repositories
[INFO] 
[INFO] Creating the detected projects for Commandline workspace.
[INFO]  Setting property: classpath.resource.loader.class =&amp;gt; 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO]  Setting property: velocimacro.messages.on =&amp;gt; 'false'.
[INFO]  Setting property: resource.loader =&amp;gt; 'classpath'.
[INFO]  Setting property: resource.manager.logwhenfound =&amp;gt; 'false'.
[ERROR] Exception in thread "Thread-3" java.lang.NoClassDefFoundError: org/talend/commandline/client/util/ConsoleUtil
[ERROR]     at org.talend.commandline.CommandLineApplication$2.run(CommandLineApplication.java:371)
[ERROR] Caused by: java.lang.ClassNotFoundException: org.talend.commandline.client.util.ConsoleUtil cannot be found by org.talend.commandline_6.4.1.20170623_1246
[ERROR]     at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)
[ERROR]     at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
[ERROR]     at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
[ERROR]     at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
[ERROR]     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[ERROR]     ... 1 more&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Where do I find this missing class?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:31:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Jenkins-BuildSources-Fails-CommandLine/m-p/2306453#M144015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Jenkins - BuildSources Fails CommandLine</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Jenkins-BuildSources-Fails-CommandLine/m-p/2306454#M144016</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Here is a related jira issue:&lt;A title="https://jira.talendforge.org/browse/TUP-16236" href="https://jira.talendforge.org/browse/TUP-16236" target="_self" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TUP-16236&lt;/A&gt;.&lt;/P&gt; 
&lt;P&gt;Could you please have a look at comments to see if your projects are checked out inside the workspace?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 10:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Jenkins-BuildSources-Fails-CommandLine/m-p/2306454#M144016</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-03T10:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Jenkins - BuildSources Fails CommandLine</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Jenkins-BuildSources-Fails-CommandLine/m-p/2306455#M144017</link>
      <description>&lt;P&gt;Please make sure you have a dedicated commandline for CI purposes.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 00:48:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Jenkins-BuildSources-Fails-CommandLine/m-p/2306455#M144017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-07T00:48:15Z</dc:date>
    </item>
  </channel>
</rss>

