问题描述
我正在使用talend open studio 5.5.我想导出人才工作并放入SVN.它包含以下文件.1)过程 a).items b).properties
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
我想以此来构建talend作业,并创建在talend open studion中创建作业时创建的jar,bat和sh文件.
I want to build talend job from this and create jar, bat and sh files as created when build job in talend open studion.
推荐答案
系列解释了如何使用Talend命令行工具从工作室外部构建作业.它可以编写脚本,因此可以从外部工具进行访问,在这种情况下,Jean-Baptiste使用Maven作为构建工具.
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.
他的示例commandline-script.sh
建立Talend存储库,以用户身份登录,然后发布ESB路由:
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}
然后,他使用Maven POM调用此命令行脚本.
He then uses a Maven POM to call this commandline script.
通常,您将使用Jenkins作为持续集成设置的一部分来构建Maven或Ant项目,因此,如果您将Maven用作构建工具,但主要前提是使用命令行工具从外部脚本/应用程序构建Talend作业.
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是专门从事ESB的 Talend员工,因此本教程针对ESB,但是,再次强调,您可以使用命令行工具从外部构建Talend作业.
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.
解决此问题的官方方法当然是购买Talend管理中心随附的企业许可证.在这里,您可以构建作业(它在命令行中提供了一个GUI钩子),部署到任何作业执行服务器并在CRON,基于时间(例如,每42秒执行10次迭代)或基于文件的组合上执行触发器.
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.
企业许可证还包括一个集成的SVN存储库,该存储库旨在更好地适应Talend项目的变化.
The Enterprise licences also include an integrated SVN repository designed to better fit the vagaries of Talend projects.
这篇关于从安装在SVN上的talend studio导出Talend项目,并从Jenkins进行构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!