<?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 commandline: change a job version in a task in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/commandline-change-a-job-version-in-a-task/m-p/2295920#M147315</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Finding hard to understand some aspects of the commandline as it does not have a documentation with good examples.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Setup:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;TAC, GIT and Nexus&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;based on a configuration file, I want to create a task using a specific job version of a job.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;So, I've managed to create a task with:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;initRemote http://localhost:8080/org.talend.administrator -ul xxx-up xxx&lt;BR /&gt;logonProject -pn PROJECT -ul xxx -up xxx
createTask TESTJOB -a -b master -esn serv1 -d TESTJOBDESC -jc Default -jn TESTJOB -jv 0.1 -pn PROJECT -rjc&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN&gt;And a task is created in TAC.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Now I've coded version 0.2.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;How to update the task to reflect this change?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Truing to create &lt;SPAN&gt;the task again gives an error, of course.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Do I need to delete the task? How? Can I just update the job version? How?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Duarte&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 09:47:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T09:47:21Z</dc:date>
    <item>
      <title>commandline: change a job version in a task</title>
      <link>https://community.qlik.com/t5/Talend-Studio/commandline-change-a-job-version-in-a-task/m-p/2295920#M147315</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Finding hard to understand some aspects of the commandline as it does not have a documentation with good examples.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Setup:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;TAC, GIT and Nexus&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;based on a configuration file, I want to create a task using a specific job version of a job.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;So, I've managed to create a task with:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;initRemote http://localhost:8080/org.talend.administrator -ul xxx-up xxx&lt;BR /&gt;logonProject -pn PROJECT -ul xxx -up xxx
createTask TESTJOB -a -b master -esn serv1 -d TESTJOBDESC -jc Default -jn TESTJOB -jv 0.1 -pn PROJECT -rjc&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN&gt;And a task is created in TAC.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Now I've coded version 0.2.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;How to update the task to reflect this change?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Truing to create &lt;SPAN&gt;the task again gives an error, of course.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Do I need to delete the task? How? Can I just update the job version? How?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Duarte&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:47:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/commandline-change-a-job-version-in-a-task/m-p/2295920#M147315</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: commandline: change a job version in a task</title>
      <link>https://community.qlik.com/t5/Talend-Studio/commandline-change-a-job-version-in-a-task/m-p/2295921#M147316</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Is the automatic SVN refresh not working on your side? Could you please indicate what's the build version you are using?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 07:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/commandline-change-a-job-version-in-a-task/m-p/2295921#M147316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-15T07:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: commandline: change a job version in a task</title>
      <link>https://community.qlik.com/t5/Talend-Studio/commandline-change-a-job-version-in-a-task/m-p/2295922#M147317</link>
      <description>&lt;P&gt;Hi Sabrina,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;thank you for answering.&lt;/P&gt; 
&lt;P&gt;Everything is working fine. If I got to TAC web, I can see that the new version job that job is available for me to choose (or automatically chosen if I use the "latest" version tag).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But what I'm trying to do is to automate the process:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I might have&amp;nbsp;a job that's available on tac from version 0.1 to 0.5.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But, internally, the version 0.4 is the latest approved one. 0.5 is a version that we're still evaluating.&lt;/P&gt; 
&lt;P&gt;So, I have a file that says:&lt;/P&gt; 
&lt;P&gt;jobA, 0.4&lt;/P&gt; 
&lt;P&gt;jobB; 0.2&lt;/P&gt; 
&lt;P&gt;jobC;0.8&lt;/P&gt; 
&lt;P&gt;...and so on.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When its time to use jobA version 0.5, I'll update that file and will run a Jenkins job to deal with it.&lt;/P&gt; 
&lt;P&gt;My issue is:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;- I know how (from the commandline) to create a new task, for project X, job A, version 0.3&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;- Now, I want to replace in that task, (through the command line), the version from 0.3 to 0.5.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Using Talend Data Management Platform 6.3.1.20161216_1026&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Duarte&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 08:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/commandline-change-a-job-version-in-a-task/m-p/2295922#M147317</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-15T08:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: commandline: change a job version in a task</title>
      <link>https://community.qlik.com/t5/Talend-Studio/commandline-change-a-job-version-in-a-task/m-p/2295923#M147318</link>
      <description>&lt;P&gt;Hello Duarte,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;have you tried using the "buildJob" command with the new job version as a parameter?&lt;/P&gt;
&lt;P&gt;Something like&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;buildJob TESTJOB ... -jv 0.2 ...&lt;/PRE&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thomas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 13:49:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/commandline-change-a-job-version-in-a-task/m-p/2295923#M147318</guid>
      <dc:creator>ThWabi</dc:creator>
      <dc:date>2017-07-05T13:49:34Z</dc:date>
    </item>
  </channel>
</rss>

