从Talend studio导出Talend项目放到SVN上,并从Jenkins构建它[英] Export Talend items from talend studio put on SVN and build it from Jenkins

本文是小编为大家收集整理的关于从Talend studio导出Talend项目放到SVN上,并从Jenkins构建它的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

嗨,我正在使用Talend Open Studio 5.5.我想导出塔伦德·约伯(Talend Job)并投入SVN.它包含以下文件. 1)过程 a) b).properties

我想从此构建talend作业,并创建jar,bat和sh文件,如在talend开放式研究中构建作业时创建的.

推荐答案

a blog.nanthrax.net/?p=434" rel =" nofollow noreferrer"> series 解释了如何使用TALEND命令行工具从工作室外构建作业.它可以从外部工具中访问它,在这种情况下,Jean-Baptiste将Maven用作构建工具.

他的示例commandline-script.sh ints talend存储库,以用户为单元,然后发布ESB路由:

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}

然后,他使用maven pom调用此命令行脚本.

通常,您会使用詹金斯(Jenkins从外部脚本/应用程序构建TAL作业的命令行工具.

Jean-Baptiste是一个 talend employee 专门研究ESB ,重点是,您可以使用命令行工具来构建talend作业.

当然,官方方法是购买Talend行政中心附带的企业许可.您可以从这里构建作业(它在命令行中提供GUI钩子),将其部署到任何作业执行服务器,并在CRON的组合中执行(例如,10次迭代每42秒)或基于文件基于文件触发器.

企业许可还包括一个集成的SVN存储库,旨在更好地适应Talend项目的变化.

本文地址:https://www.itbaoku.cn/post/1471112.html

问题描述

Hi I am using talend open studio 5.5. I want to export talend job and put into the SVN. It contains the following files. 1) process a) .items b) .properties

I want to build talend job from this and create jar, bat and sh files as created when build job in talend open studion.

推荐答案

This part of a series explains how to use the Talend command line tool to build jobs from outside of the studio. It's scriptable so can be access from an external tool and in this case Jean-Baptiste uses Maven as a build tool.

His example commandline-script.sh inits the Talend repository, logs on as a user and then publishes an 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}

He then uses a Maven POM to call this commandline script.

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

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

The official approach to this would of course be to buy an Enterprise licence that comes with a Talend Administration Centre. From here you can build jobs (it's providing a GUI hook into the command line to do so), deploy to any job execution server and execute on a combination of CRON, time based (eg. every 42 seconds for 10 iterations) or file based triggers.

The Enterprise licences also include an integrated SVN repository designed to better fit the vagaries of Talend projects.