how to setup Jenkins shared library using RTC / Team Concert Plugin

53 views
Skip to first unread message

Torsten Reinhard

unread,
Oct 20, 2017, 4:22:59 AM10/20/17
to Jenkins Users
Hi I´m trying to setup a Pipeline shared library using Rationl Team Concert (RTC, Jazz), I´m using https://wiki.jenkins.io/display/JENKINS/Team+Concert+Plugin

The setup seems to be straight-forward, I´ve shared a project to RTC containing the expected structure:
src\
vars
\myfile.groovy
.project
pom
.xml


After sharing the project it´s availabe in RTC:
MyStream
     
MyComponent
        pipelineLibrary
              src
              vars

When trying to use that library now, Jenkins complains :
Loading library pipelineLibrary@.....
RTC
: checkout...
Using stream configuration.
Fetching files from repository workspace "HJP_.......".
RTC
Checkout : Fetching files to fetch destination "/build/jenkins02home/workspace/myJob@libs/pipelineLibrary" ...
RTC
Checkout : Fetching Completed
ERROR
: Library pipelineLibrary expected to contain at least one of src or vars directories

Currently I found no way to add sources to a component in RTC without adding an additional folder. Is there a way to tell Jenkins where it can find the src, vars folders ? Or a way in RTC to add the expteced structure ?

If anyone else has experience in setting this up, please give me a hint,

Thanx,Torsten


Reply all
Reply to author
Forward
0 new messages