Export Talend items from talent studio to SVN and build it from Jenkins

Hi I'm using the talented open studio 5.5. I want to export talent work and put in SVN. It contains the following files. 1) process a) .items b) .properties

I want to build a job from this command and create the jar, bat and sh files generated when creating the job in talend open studion.

+3


source to share


1 answer


This part of the series explains how to use the Talend command line tool to create workspaces outside of the studio. It is scriptable, so it is accessed from an external tool, in which case Jean-Baptiste uses Maven as the build tool.

An example commandline-script.sh

in the Talend repository, logs in as a user, and then publishes the ESB route:

initRemote ${tac.location}
logonProject -pn ${talend.project} -ul "${tac.user}" -up ${tac.password}
publishRoute ${project.artifactId} -r "${repo.snapshot}" -u ${repo.user} -p ${repo.password} -pv ${project.version} -g ${project.groupId} -a ${project.artifactId}

      

It then uses the Maven POM to invoke that command line script.



Typically, you should use Jenkins to build a Maven or Ant project as part of your continuous integration, so these steps should be pretty easy for you if you are using Maven as your build tool, but the main premise is using a command line tool to create Talend jobs from external script / application.

Jean-Baptiste is a Talend employee who specializes in ESB, so this tutorial is aimed at ESBs, but again the main point is that you can use the command line tool to build the Talend job externally.

The official approach to this would, of course, be the purchase of the Enterprise license that comes with the Talend administration center. From here you can create jobs (it provides a GUI hook on the command line for that), deploy to any job run server, and do a time-based CRON combination (e.g. every 42 seconds for 10 iterations) or trigger files.

Enterprise licenses also include an integrated SVN repository designed to better match the whims of Talend projects.

+4


source







All Articles