Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Problem in integrating RTC with Jenkins and Maven

Hello,

I would like to ask for help to you, because I have a problem.

I set the jenkins on a linux server, integration with git worked as expected.
Now I am performing integration with RTC as follows:

1 - In the RTC do I create a Build Engine type Jenkins, performed the connectivity and successful test.
2 - No one I create RTC Build Definition type jenkins,
2.1 - In Jazz souce Control tab,
- Define the workspace (this is where the build workspace download the sources within the RTC right?) This workspace need to have a stream?
- Load directory: here is the directory in the build machine where the jar / war / ear will be included for the right maven?
2.2 In Aba Hudson / Jenkins
- I define the job created in Jenkins.
3- In jenkins
3.1 - I configured the plugin RTC, all right.
3.2 - I have connected with ratserver01.teste: 9443 / ccm, ok test.
3.3 - Validei the Build Definition, OK validation.
3.4 - In Build informed the pom and the goals apparently here is where the problems begin to appear as the jenkins already informs a "'pom.xml' file not found".

When I perform the Build the RTC is generated the following error:

Started by user anonymous
Building in workspace /root/.jenkins/jobs/Rep Build Maven / workspace
RTC: checkout ...
RTC: Build initiated by request from RTC
RTC Out: setup control Source
RTC Checkout: Accepting changes into workspace "workspace" ...
RTC Checkout: Fetching files to fetch destination "/ build" ...
RTC Checkout: Fetching Completed
Parsing POMs
ERROR: No such file /root/.jenkins/jobs/Rep Build Maven / workspace / pom.xml
Perhaps you need to I specify the correct POM file path in the project configuration?
Finished: FAILURE

The problem to my understanding is that the jenkins is not downloading the source of the RTC to the workspace to thereby run the build.

Thank you.

0 votes



2 answers

Permanent link
Hi,

A note,

I followed this tutorial (http://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.1/com.ibm.team.build.doc/topics/t_hudson_build_def.html?lang=en) and the problem is well in "k" item.

In the Build Definition editor, in the Load Options pane, in the Load directory field, type the path to the directory on the build machine where workspace files are to be loaded

1 vote


Permanent link
Hi,

From the console out you have posted looks like the load operation was completed successfully and the RTC workspace was loaded on the path "/build" but the read the pom.xml file is from the path "/root/.jenkins/jobs/Rep Build Maven / workspace / pom.xml "

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,130
× 382

Question asked: Apr 23 '15, 8:08 a.m.

Question was seen: 6,513 times

Last updated: Apr 24 '15, 1:02 a.m.

Related questions
Confirmation Cancel Confirm