wrapping TFS continous integration with JBOSS 2.4.11 - ant

I am trying to use TFS to auto build and deploy to Jboss server on AIX machine. How do i wrap the jboss in to a windows service and call it from TFS?
Note: I use ANT to Compile/build my project.

You can call out to ANT using the TFS build extensions. You can call ANT from team build using these instructions

Related

How to .exe file to msi via jenkins

I'm new to .net application (non-web application) project and using jenkins for continuous build and release. I completed creating builds for my project and got the .exe and dll files. But i need to repackage it(create a msi) before deploying to servers. So can anyone give a stepwise information for rePackaging and tool to be used with jenkins for packaging. I want to automate this process in jenkins CI AND CD.
Jenkins is not capable to pack any applications directly.
It will always use an external tool via a plugin or installed by you.
In MSI case, you need an windows agent with an app that will receive the command in command line and produce your deliverable.
Applications:
Installshield (very old - paid)
visual studio (paid)
TFS (on premises or cloud) (paid)
MSIX (? I don't know much about it)
WIX (free)
Jenkins plugin here

Can uDeploy take care of automating Windows MSI Build?

I have a wpf application where we are outputting as MSI. I am planning to move this build to uDeploy. Is it possible for uDeploy to take care of build process of generating MSI fom my C#/WPF source code?
In IBM UrbanCode Deploy you do not have a feature out of the box that will help you to create MSI package. There is a plugin available but it only allows you to execute, install and uninstall MSI.
To build MSI package you will have to use a command line and invoke this script from uDeploy using Shell Scripting step. Another way how you can do it is building your own uDeploy plugin that will create MSI packages.
Better way is write a shell script and invoke that script
In general UDeploy is for deployment only - not for builds. Urbancode Build could easily do this with the MSBuild plugin: https://developer.ibm.com/urbancode/plugin/msbuild-ubuild/

Jenkins Packaging a exe and dll's to msi

I'm new to using jenkins.I am working on C# project and using jenkins for continuous build and release. I completed creating builds for my project and got the .exe and dll files. But i need to repackage it(create a msi) before deploying to servers. So can anyone give a stepwise information for rePackaging and tool to be used with jenkins for packaging. I want to automate this process in jenkins CI AND CD.
Repackaging implies you have a third party installer that you want to reverse engineer into a new/better MSI. You are just packaging not repackaging.
This is a two part question:
Author an MSI. I recommend using WiX and IsWiX starting with this tutorial.
Build it using Jenkins. WiX supports MSBuild and Jenkins has a MSBuild PlugIn. Standard stuff except not that the .WIXPROJ created by IsWiX templates expects you to pass the MSBuild Property MSIProductVersion. The correct format for this property is 0-255.0-255.0-65535. You can tack on a fourth field if you would like but it will be ignored. The IsWiX project templates are set up for Major Upgrades by default so make sure one of these 3 fields is incremeented with each release. ( 1.0.0, 1.0.1, 1.1.0, 1.1.1, 2.0.0 )
This is more of a packaging issue than a Jenkins issue.
Take a look at WIX Toolset. I used it successfully in the past with various projects. Integration with Jenkins should be easy. There are 2 options I'm aware of:
After installing the WIX toolset, add a new WIX project to your Visual Studio solution. Once configured, commit the new project to your source code repository. Then developers can build .MSI packages on their own development workstation. Assuming you use MSBuild in Jenkins to build your C# project, the new project will "just build" and create .MSI package (remember to install WIX on your Jenkins build server). This is the recommended option.
Use WIX's command line utilities to generate MSI in a Jenkins batch step. This is more cumbersome and difficult to debug.

Jenkins Automation help required

I have been assigned a task to do build automation using jenkins which should perform checkout, compile & build automatically.
Existing set up - Currently we have PVCS installed in one of our AIX server where build process(checkout,compile,build) is automated using ant script.
I have installed jenkins in my windows server.
How do i get the code into my windows server from PVCS which resides in AIX server to perform build through jenkins.
Thanks in advance.
As I posted on CodeRanch where you posted the same question, you need to install the PVCS plugin for Jenkins.

Grails Automated Build with TFS for IBM websphere server

Has anyone used TFS for automated build for grails app.Do we need to write ant build.xml or can we use Gant script for TFS?
How does the build automation work with TFS for Grails App?
I need to automate build for websphere server using TFSBuild

Resources