Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
i have written below script for publishing the talend application. I used script mode for publishing/
lunchTalend.bat : this will lunch talend env then execute publish commands
Talend-Studio-win-x86_64.exe -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace scriptFile /temp/publish.bat
publish.bat
initRemote -ul admin -up admin123
listCommand -a
logonProject -pn PolicyService -ul admin -up admin123
listCommand -a
publishRoute PolicyService_BuildTest --version 0.1 --group Bamboo --artifactId PolicyService_BuildTest --publish-version 0.1.4-SNAPSHOT --snapshot --artifact-repository "" -u admin -p admin123
logoffProject
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.
Hi,
Have you tried to pass context parameter from commandline?
In this way, you can pass values at runtime by modifying the launch script, for example: -
--context_param myString="modified value"
Best regards
Sabrina