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

Unable to deliver using scm from the command line.

I'm trying to load a file from an automated process and everything seems to work until the deliver. Unfortunately the error message isn't helpful. Does anyone know what is wrong? After I create the change set, I can enter Team Concert and deliver it from there, but I need an automated process to check in this file.

Here's what I have:

scm login -u %username% -P %password% -r %repository% 


scm create changeset -w %workspace% -d %respDir%

set changeset=(from output above)

rem this is the file I'm trying to check in and deliver
scm checkin -c %changeset% -d %respDir% Maximo_7.1/resources/messages/messages.xml

scm changeset comment -d %respDir% %changeset% "automated"

scm status -d %respDir%
rem the output of the status shows the change set as Outgoing

scm deliver -s %workspace% -u %username% -P %password% -d %respDir% -r %repository% %changeset%


The deliver fails with:
Delivering changes from "DBCHANGE" into "Maximo_7.1 Latest"
No baselines to flow.
Problem running 'deliver':
'Deliver' failed. Permission denied.

0 votes



One answer

Permanent link
My first guess is to double check that your user has the appropriate role
to deliver to your target stream. Also considering that you mentioned that
it's an automated process, is the user a 'build' user that doesn't have
the appropriate roles?

I would expect a more detailed error if a different expected failure case
was happening.



On Thu, 10 Sep 2009 14:52:58 -0400, jneville
<jneville> wrote:

I'm trying to load a file from an automated process and everything
seems to work until the deliver. Unfortunately the error message
isn't helpful. Does anyone know what is wrong? After I create the
change set, I can enter Team Concert and deliver it from there, but I
need an automated process to check in this file.

Here's what I have:

scm login -u %username% -P %password% -r
%repository%

scm create changeset -w %workspace% -d %respDir%

set changeset=(from output above)

rem this is the file I'm trying to check in and deliver
scm checkin -c %changeset% -d %respDir%
Maximo_7.1/resources/messages/messages.xml

scm changeset comment -d %respDir% %changeset% "automated"

scm status -d %respDir%
rem the output of the status shows the change set as Outgoing

scm deliver -s %workspace% -u %username% -P %password% -d %respDir% -r
%repository% %changeset%

The deliver fails with:
Delivering changes from "DBCHANGE" into "Maximo_7.1
Latest"
No baselines to flow.
Problem running 'deliver':
'Deliver' failed. Permission denied.



--

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

Question asked: Sep 10 '09, 2:52 p.m.

Question was seen: 4,072 times

Last updated: Sep 10 '09, 2:52 p.m.

Confirmation Cancel Confirm