I tried to separate both build and deploy as 2 steps. Build will be done with ant script and deploy will be done via 'Execute Windows batch command' . But same issue.
On Fri, Sep 14, 2012 at 3:05 PM, radm <rmasa...@gmail.com> wrote: > I have an ant build script that will build and deploy the bar file to a > broker. When I execute the ant file from cmd promp both actions are > successful. But when I try to invoke that ant script from Jenkins I am > seeing below exeption. Can anybody please help. I am stuck , no clue where > to look for the exact error. I checked the QMGR logs , broker logs. Could > not find any exceptions. DO I need to do any special settings to connect to > broker? > > --------------------- > MQSI 7.0.0.0 > C:\Program Files (x86)\IBM\MQSI\7.0 > > BIP1044I: Connecting to the queue manager... > BIP1046E: Unable to connect with the queue manager > (*com.ibm.mq*<http://com.ibm.mq.mq/>.MQQueueManager). > > > The utility encountered a problem while attempting to connect to the queue > manager to put a message to the broker's request queue. > > Ensure that the correct connection parameters have been supplied to the > utility. Also ensure that the queue manager is running and that the current > user is able to access the queues beginning SYSTEM.BROKER. If this error > text includes an MQ reason code, look up the meaning behind the error in > the Application Programming Reference guide and proceed as appropriate. > Build step 'Execute Windows batch command' marked build as failure > Finished: FAILURE