<?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: how to pass args/parameters to talend env in script mode in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Commandline-how-to-pass-args-parameters-to-talend-env-in-script/m-p/2261273#M42104</link>
    <description>&lt;P&gt;i have written below script for publishing the talend application. I used script mode for publishing/&lt;BR /&gt;lunchTalend.bat : this will lunch talend env then execute publish commands&lt;BR /&gt;Talend-Studio-win-x86_64.exe -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace scriptFile /temp/publish.bat&lt;BR /&gt;publish.bat&lt;BR /&gt;initRemote &lt;STRONG&gt; -ul admin -up admin123&lt;/STRONG&gt;&lt;BR /&gt;listCommand -a&amp;nbsp;&lt;BR /&gt;logonProject -pn PolicyService &lt;STRONG&gt;-ul admin -up admin123&lt;/STRONG&gt;&lt;BR /&gt;listCommand -a&lt;BR /&gt;publishRoute PolicyService_BuildTest --version 0.1 --group Bamboo --artifactId PolicyService_BuildTest --publish-version &lt;STRONG&gt;0.1.4-SNAPSHOT&lt;/STRONG&gt; --snapshot --artifact-repository "" -u &lt;STRONG&gt;admin -p admin123&lt;/STRONG&gt;&lt;BR /&gt;logoffProject&lt;BR /&gt;In the above script, i need to pass URL, version number, login and password details dynamically. Could you please help me how to pass above parameters to talend env.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 10:02:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:02:04Z</dc:date>
    <item>
      <title>Commandline: how to pass args/parameters to talend env in script mode</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Commandline-how-to-pass-args-parameters-to-talend-env-in-script/m-p/2261273#M42104</link>
      <description>&lt;P&gt;i have written below script for publishing the talend application. I used script mode for publishing/&lt;BR /&gt;lunchTalend.bat : this will lunch talend env then execute publish commands&lt;BR /&gt;Talend-Studio-win-x86_64.exe -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace scriptFile /temp/publish.bat&lt;BR /&gt;publish.bat&lt;BR /&gt;initRemote &lt;STRONG&gt; -ul admin -up admin123&lt;/STRONG&gt;&lt;BR /&gt;listCommand -a&amp;nbsp;&lt;BR /&gt;logonProject -pn PolicyService &lt;STRONG&gt;-ul admin -up admin123&lt;/STRONG&gt;&lt;BR /&gt;listCommand -a&lt;BR /&gt;publishRoute PolicyService_BuildTest --version 0.1 --group Bamboo --artifactId PolicyService_BuildTest --publish-version &lt;STRONG&gt;0.1.4-SNAPSHOT&lt;/STRONG&gt; --snapshot --artifact-repository "" -u &lt;STRONG&gt;admin -p admin123&lt;/STRONG&gt;&lt;BR /&gt;logoffProject&lt;BR /&gt;In the above script, i need to pass URL, version number, login and password details dynamically. Could you please help me how to pass above parameters to talend env.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Commandline-how-to-pass-args-parameters-to-talend-env-in-script/m-p/2261273#M42104</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Commandline: how to pass args/parameters to talend env in script mode</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Commandline-how-to-pass-args-parameters-to-talend-env-in-script/m-p/2261274#M42105</link>
      <description>&lt;P align="LEFT"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;Hi,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;BR /&gt; 
&lt;P align="LEFT"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;Have you tried to pass context parameter from commandline?&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;BR /&gt; 
&lt;P align="LEFT"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;In this way, you can pass values at runtime by modifying the launch script, for example: -&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;BR /&gt; 
&lt;P align="LEFT"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;--context_param myString="modified value"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;BR /&gt; 
&lt;P align="LEFT"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;BR /&gt; 
&lt;P align="LEFT"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;BR /&gt; 
&lt;P align="LEFT"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 07:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Commandline-how-to-pass-args-parameters-to-talend-env-in-script/m-p/2261274#M42105</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-06T07:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Commandline: how to pass args/parameters to talend env in script mode</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Commandline-how-to-pass-args-parameters-to-talend-env-in-script/m-p/2261275#M42106</link>
      <description>Talend-Studio-win-x86_64.exe -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace scriptFile D:/5.6.1/studio/temp/publish.bat --context_param login="admin" --context_param pwd="admin123" 
&lt;BR /&gt;I have tried to get the same param in publish.bat but i couldn't. 
&lt;BR /&gt;could you plz let me know how to get context param in below login 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;initRemote &lt;B&gt;tac URL&lt;/B&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;-ul&lt;B&gt; {login}&amp;nbsp;&lt;/B&gt;-up&lt;B&gt;&amp;nbsp;{pwd}&lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Mon, 06 Mar 2017 13:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Commandline-how-to-pass-args-parameters-to-talend-env-in-script/m-p/2261275#M42106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-06T13:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Commandline: how to pass args/parameters to talend env in script mode</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Commandline-how-to-pass-args-parameters-to-talend-env-in-script/m-p/2261276#M42107</link>
      <description>Onofre made it right here: 
&lt;BR /&gt;Using Maven between shell&amp;nbsp;script parameter / environment variables&amp;nbsp;and CommandLine script file</description>
      <pubDate>Wed, 08 Mar 2017 13:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Commandline-how-to-pass-args-parameters-to-talend-env-in-script/m-p/2261276#M42107</guid>
      <dc:creator>vharcq</dc:creator>
      <dc:date>2017-03-08T13:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Commandline: how to pass args/parameters to talend env in script mode</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Commandline-how-to-pass-args-parameters-to-talend-env-in-script/m-p/2261277#M42108</link>
      <description>&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;HI,&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Thank you for response,&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;I'm using Talend 5.6 version which doesn't support Maven and other features.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;BR /&gt;-Madhu&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 08 Mar 2017 13:28:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Commandline-how-to-pass-args-parameters-to-talend-env-in-script/m-p/2261277#M42108</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-08T13:28:00Z</dc:date>
    </item>
  </channel>
</rss>

