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

Using the SCM command line in builds: Authentication

 Hi 
I am working the the example code in the article "Using the SCM command line in builds" by Evan Hughes.  I am having a problem getting it working.  
I have loaded the project in recipe.deliver and I am trying to get the script recipe1.deliver.ant working.
Initially I was getting the error "The following error occurred while executing this line"" and nothing else when it tried to execute the "_scm-checkin" task.
I then reran the buld with the ANT -debug option and I found this error:

Setting project property: cs -> Proplem running 'checkin':
Could not login:
Uncaught exception from user code:
Could not find \(([^)]+)\) in Could not log into https://rtcserver:9443/ccm/
at run_and_filter.pl line 11

Does anyone know what is going wrong?

One thing I did notice in the example build script and snippets is they there does not seem to be any tasks that actually have the userid nor password to the jazz server.  Vs in the various and tasks that come with RTC they usually have a repositoryAddress,  UserID and Password (or passwordFile) option to authenticate against the server.
How is the authentication managed in the recipe.deliver.ant and cli.snippets.ant ?

Thanks in advance

Rob

0 votes



One answer

Permanent link
At the top of the article under "Basic Configuration" third bullet point, it mentions that you need to login to the repository with the build user account or the user account you expect to run these tasks. Have you done that?

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
× 12,019
× 562

Question asked: Oct 04 '12, 4:03 p.m.

Question was seen: 5,068 times

Last updated: Oct 08 '12, 12:10 a.m.

Confirmation Cancel Confirm