It's all about the answers!

Ask a question

Unable to deliver using scm from the command line.


John Neville (111) | asked Sep 10 '09, 2:52 p.m.
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.

One answer



permanent link
Andrew Hoo (1.0k1) | answered Sep 14 '09, 4:15 p.m.
JAZZ DEVELOPER
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.



--

Your answer


Register or 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.