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

Team concert plugin with Jenkins Pipeline

I have the following installed:

-jenkins 2.19.1
-team concert plugin 1.2.0.1

I have created a pipeline, RTC finds it from the build definition, I have also checked that I can connect from Jenkins to RTC.

My script looks like this ( I used the groovy generator) ,

node {
    teamconcert([buildWorkspace: 'zCopyrights', value: 'buildWorkspace'])
}

I get this exception when I try and run it:
java.lang.NullPointerException
    at com.ibm.team.build.internal.hjplugin.RTCScm.checkout(RTCScm.java:1948)
    at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
    at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:83)
    at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:73)
    at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:52)
    at hudson.security.ACL.impersonate(ACL.java:221)
    at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:49)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

What have I missed?

Zoe

0 votes



One answer

Permanent link
Yust found this https://jazz.net/forum/questions/229281/error-using-team-concert-plugin-in-jenkins-pipeline, not sure why I didn't pick it up before.

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,132

Question asked: Oct 19 '16, 10:53 a.m.

Question was seen: 4,088 times

Last updated: Oct 19 '16, 4:49 p.m.

Confirmation Cancel Confirm