在TFS中使用外部应用程序构建工具构建版本 [英] Building an Release with external application build tool within TFS

查看:53
本文介绍了在TFS中使用外部应用程序构建工具构建版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我正在尝试在TFS中找到一个用于构建Wildfly应用程序EAR版本的解决方案,该解决方案与传统EAR文件构建的规范略有不同。有问题的EAR文件是由第三方开发的,作为其应用程序的一部分,他们有
提供了一个Java .JAR应用程序,它使用 

$ b $组装并将一些安全功能应用于EAR文件b

  • 已编译的应用程序核心EAR文件
  • 开发人员的自定义开发文件
  • 包含装配说明的xml文件

然后开发人员将上述文件放在一个文件夹中,并在带有一些变量的Windows命令中运行java .JAR(文件夹输入位置,最终EAR输出位置)。


继续前进我希望通过将其与TFS集成来实现自动化,但是我不知道从哪里开始。 



  • 我想从TFS调用Core EAR
  • 我想调用自定义开发文件,来自GIT的XML
  • 然后运行Java .JAR来构建版本和从TFS部署

解决方案

您好,


您是说想要从TFS中的TFVC团队项目获取Core EAR的资源,并从Git团队项目中获取自定义开发文件资源,XML?然后在TFS中构建一个TFVC构建?


在TFS的命令行中构建项目可以通过添加
命令行任务


祝你好运,


Hello all,

I am trying to find a solution for building a Wildfly application EAR release in TFS that is slightly different from the norm for a traditional EAR file build. The EAR file in question was developed by a third party as a part of their application, they have provided a Java .JAR application that assembles and applies some security features to the EAR file using 

  • The compiled application core EAR File
  • The custom development files by developers
  • The an xml file containing the assembly instructions

A developer then takes the above files places them in a folder and runs the java .JAR within a Windows command with some variables (folder input location, final EAR output location).

Moving forward i would like to automate this by integrating this with TFS, However i am not sure where to start on this. 

  • I would like to call the Core EAR from TFS
  • I would like to call the Custom Development files, XML from GIT
  • then run the Java .JAR to build the release and deploy from TFS

解决方案

Hi,

Do you mean you want to get resources of Core EAR from a TFVC team project in TFS, and get resources of Custom Development files, XML from a Git team project? Then have a build in a TFVC build in TFS?

To build a project within a command line in TFS can be achieved by adding a command line task.

Best regards,


这篇关于在TFS中使用外部应用程序构建工具构建版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆