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

Jenkins and RTC Integration

Hello. I am trying to setup a Pipeline to work with RTC, but Jenkins (RTC Pool SCM) is not tracking change-sets properly. I don't know whether it is a mistake from my side or not.


When I change a line of code or add a new class file and then follow: Pending Changes → Check-in all → Deliver. Nothing happens. The log keep saying No changes.

"Rational Team Concert (RTC) Polling Log
Started on Jul 24, 2019 8:42:44 PM
RTC : checking for changes...
Determining if there are incoming changes using the build toolkit
Checking incoming changes for "admin build"
Reusing facade for D:\Program Files\IBM\RTC-BuildSystem-Toolkit-Win64-6.0\jazz\buildsystem\buildtoolkit
RTC : No changes detected
Done. Took 0.19 sec
No changes"

Example of Pipeline code:
"pipeline {
    agent any
    triggers { pollSCM('/1 * * *') }
    stages {
        stage ("Stage One"){
            steps {
               checkout([$class: 'RTCScm', avoidUsingToolkit: false, buildType: [buildDefinition: 'admin build', customizedSnapshotName: '', value: 'buildDefinition'], overrideGlobal: false, timeout: 480])
            }
        }
    }
}"

0 votes

Comments
Can you open the build workspace in the pending changes view in the EWM(RTC) client and check if you see any incoming changes?
To open the workspace in the pending changes view in the eclipse client:
1. Login to the repository as the build user who owns the build workspace
2. Navigate to "Team Artifacts" view
3. Expand "My Repository Workspace"
4. Right click on the build workspace
5. Select "Show>Pending Changes"

Thank you for your answer. I will try it when I get home.


Let me see if I understood. I should make a change, then check-in and deliver. Afterwards I should follow your steps, right?

EWM means the eclipse IDE? 

Obs: I am doing it locally, I have only the admin user. 

Hello, I am sorry for my late feedback.  Yes, I can see the Pending Changes in my build workspace.

It was solved. I don't know if it is a mistake from my side or an issue but I have added: credentialsId: 'credential', overrideGlobal: false, serverURI: 'https://localhost:9443/ccm'


And it is polling now.

I was unable to convert this to an answer. Some thoughts:
  1.  Override the Global settings should not be necessary, the user connecting needs to have a license allowing to build and permissions to access the build data.
  2. 'https://localhost:9443/ccm' is an URI that shoud never show up in any production setup. Always use full qualified host names. Localhost is not even a good idea for a test environment.


Accepted answer

Permanent link
Seems to have been a configuration error. See

Ralph Schoon selected this answer as the correct answer

0 votes


One other answer

Permanent link

 Have you read 

0 votes

Comments

I saw some articles like those and I followed some of them to setup the environment. But I didn't find a clear article regarding pipelines.


I tried everything available in the network to make it work. But as I said before, I don't know if it is a fault from my side. It's my first time with Rtc and pipelines. I've done it before with other kind of source management. 

Can you confirm to me that it is supported, at least? 

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
× 382
× 151

Question asked: Jul 24 '19, 3:20 p.m.

Question was seen: 3,720 times

Last updated: Jul 26 '19, 12:50 p.m.

Confirmation Cancel Confirm