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

jenkinsfile not found in pipilene from SCM RTC

 Hi,


I have created pipeline project and pipeline code from RTC SCM .i am using teamconcert plugin for this.

i could load the project from stream and success.
But while getting Jenkinsfile from SCM ,it was giving me this error and build fails.

has any body idea or encountered this before.Appreciate help.
Started by user admin
Checking out teamconcert-https://host:9443/ccm/-RTC BuildToolKit 6.0 into C:\Users\scout.jenkins\workspace\jenkinsfilescm@script to read SnapCalcCommon\Jenkinsfile
RTC : checkout...
Deleted repository workspace "HJP_1550002114075".
ERROR: C:\Users\scout.jenkins\workspace\jenkinsfilescm@script\SnapCalcCommon\Jenkinsfile not found
Finished: FAILURE
    

0 votes

Comments

Please note that Team Concert Plugin does not support lightweight checkout yet.Also, can you check if you load the stream through a repository workspace in your machine, you see the Jenkinsfile at SnapCalcCommon\Jenkinsfile relative to the root of the sandbox?



One answer

Permanent link

 This is usually because you have set a load directory on the build definition in RTC. For builds where jenkins is the build engine that should always be set to a "full stop" which means Jenkins uses the workspace directory it created when you setup the job in the first place, Jenkins won't know where to look for the jenkinsFile if you point it somewhere else. IBM should grey out the Load Directory when a jenkins build is selected I think, as this is a hole  lots of people have probably fallen in. Other than that you just need to check you have set the right location within Jenkins, when you get the failure go look for the file and you will probably discover a syntax error...

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

Question asked: Feb 12 '19, 4:25 p.m.

Question was seen: 6,309 times

Last updated: Sep 30 '19, 2:50 a.m.

Confirmation Cancel Confirm