Author |
Message
|
star2011 |
Posted: Wed Nov 23, 2011 4:28 am Post subject: Automated build of Message Broker interfaces using jetkins |
|
|
Newbie
Joined: 23 Nov 2011 Posts: 4
|
I need help to understand the process and overall details how we can use Jenkins to automate the build of Message Broker interfaces developed on MB V7.
Ideally I need two things;
- The ability to re-deploy a whole environment on request (ie, deploy all message flows at once)
- The ability to deploy all message flows related to a project or release to a specified environment.
I would also appreciate some consideration of using Jenkins to automate unit testing on a re-occuring / regular basis.
I need to come up with a solution for this ASAP. Request you all exper to please have a think on it and share your ideas with me. Many thanks in advance.
|
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Nov 23, 2011 4:43 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
There are TWO issues
1) Building the deployable objects after checkout from your source code system
AND
2) Deploying said deployable objects.
1) IMHO is more suited to ant/maven.
2) how long is a piece of string.
I know that some sites have spent several months developing a comprehensive test framework for tools like Jenkins (nee Hudson). The framework would need to cater for all the different interface types in use. eg MQ, HTTP, SOAP, JMS, TCP/IP etc.
Whatever approach you take, this is not something that you can pull together in a day or two. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Nov 23, 2011 5:10 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You create bar files using the mqsicreatebar command.
You deploy bar files using the mqsideploy command.
You create brokers using the mqsicreatebroker command.
You create EGs using the mqsicreateexecutiongroup command.
I'm sure you can configure Jenkins to run all of these commands. Don't forget to figure out how to source the mqsiprofile where needed. |
|
Back to top |
|
 |
star2011 |
Posted: Wed Nov 23, 2011 9:15 pm Post subject: |
|
|
Newbie
Joined: 23 Nov 2011 Posts: 4
|
Thanks mqjeff for your reply.
Can you please suggest me any link or place from where I can installed Jetkins and it would be great if there would be any documentation available which can help to understand overall configuration of Jetkins for the first time user? I am interested to configure Jenkins to run all of these commands you have mentioned in your reply. Please guid me with the intial steps staring from instalation of tool.
Also suggest if there would be any disadvantage of using this tool so that I can suggest client also in advance.
Please explain the line you said below "Don't forget to figure out how to source the mqsiprofile where needed". I did not understand . Thanks in advance. |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Nov 24, 2011 12:04 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
star2011 wrote: |
Thanks mqjeff for your reply.
Can you please suggest me any link or place from where I can installed Jetkins
Please explain the line you said below "Don't forget to figure out how to source the mqsiprofile where needed". I did not understand . Thanks in advance. |
JENKINS not Jetkins please
A simple search reveals a lot about the tool. Why not start here...?
http://en.wikipedia.org/wiki/Jenkins_%28software%29
Jenkins is a FORK of HUDSON. Pretty well any Hudson docs would be a good starting place.
As for sourcing mqsiprofile, this is a standard technique in the Unix/Linux world.
There are many threads on this forum that talk about it. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Nov 28, 2011 5:38 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
star2011 wrote: |
Please explain the line you said below "Don't forget to figure out how to source the mqsiprofile where needed". I did not understand . Thanks in advance. |
Have you attended the WM643 or WM663 class where one of the first items on the agenda is sourcing the profile? If you have not attended the class, why have you not? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
|