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:
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
|
One answer
![]()
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?
|
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.