Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Running the build step from outside of the Talend ide.

Hi,

We are in the process to switching over to using Gradle for automated builds and a question came up to see if it is possible to run the build step from outside of the Talend ide in order to automate the build of the jar files.  I am thinking it would be possible but am not sure how to get that set-up.  Is it possible? 

Thank you in advance for any information you can provide on this.

Tom     

Labels (2)
4 Replies
Anonymous
Not applicable
Author

Talend does not store java in SVN. To build the jobs externally, you will first need to automate generating the code for each job using the commandline. To do this, the simplest way is to actually build the jobs (exportJob in commandline scripting) -- so you'd end up building the jobs with Talend to then build the jobs with Gradle. Not sure what you would gain from this other than a headache 0683p000009MAB6.png

What problem are you trying to solve by building the jobs with Gradle? is it just to standardize your build process?  
Anonymous
Not applicable
Author

You can make use of the CommandLine (with the Enterprise Edition) to do this. The CommandLine is basically a headless Studio that can be called by script. The documentation is not very good for this and you will need to experiment a little. Take a look here to get started.
Anonymous
Not applicable
Author

Yes this is possible via commandline (for paid subscriptions only)
All you need to so is:
1. Create a script file with initRemote, logonProject and buildJob commands.
            initRemote <TAC_URL> -ul <UserName> -up <Password>
            logonProject -pn <ProjectName> -br <SVNBranch>
            buildJob <JobName> -dd <OutputFolder> -af <ZipFileName>

2. Create a windows batch or unix shell to Execute Talend exe in commandline script file mode.
            Talend-Studio-linux-gtk-x86 -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace scriptFile \temp\Build.txt
3. Schedule any job (using any scheduler program) and keep executing the batch file created in step 2
Hope this helps. Let me know.

Thanks
Rohan Suresh
Anonymous
Not applicable
Author

Thanks all for your feedback. 
John - We are moving our build process over to Gradle and part of this effort is to bring the Talend part of our development environment into the fold with everything else.  Up until this point, the Talend code has been excluded from our automated build process.    
RHall and Rohan - I'll work with the information you provided and will let you know once I have it working.
Thanks again.