Skip to main content
1-Visitor
June 19, 2015
Solved

Get projectType through CLI

  • June 19, 2015
  • 1 reply
  • 1127 views

Hello,

I need to know the projectType of projects in a sandbox, (meaning if they are build or normal etc.)

Until now I could use the command "si sandboxinfo --sandbox=... --xmlapi"

With Integrity 10.7 --xmlapi has been discontinued and using the same command without --xmlapi doesn't seem to give me the projectType.

Which command should I use for this matter?

Thanks in advance,

Luca.

    Best answer by tketz

    Hi,

    you are right, the --xmlapi is no longer present in 10.7 (why)

    For your case there is a simple solution, you don't need the --xmlapi.

    Look in the first line of output from si sandboxinfo:

    for normal sandbox: Sandbox Name:

    for Variant sandbox: Variant Sandbox Name:

    for Build Sandbox: Build Sandbox Name:

    i hope that helps

    alternative you can use the java api....

    1 reply

    tketz1-VisitorAnswer
    1-Visitor
    June 23, 2015

    Hi,

    you are right, the --xmlapi is no longer present in 10.7 (why)

    For your case there is a simple solution, you don't need the --xmlapi.

    Look in the first line of output from si sandboxinfo:

    for normal sandbox: Sandbox Name:

    for Variant sandbox: Variant Sandbox Name:

    for Build Sandbox: Build Sandbox Name:

    i hope that helps

    alternative you can use the java api....