pipeline version operation
pipeline version operation
The OLP CLI supports the following:
- list all pipeline version operations
pipeline version operation list
Lists all the operations belonging to the specified pipeline version.
olp pipeline version operation list <pipeline ID> <pipeline version ID> [command option]Required parameters:
<pipeline ID>The ID of the pipeline.<pipeline version ID>The ID of the pipeline version.
Optional parameters:
--credentials <path to credentials file>The name of a credentials file to use with the command. Credentials files are downloaded separately from the platform portal.--profile <profile name>The name of the credentials profile to use from theolpcli.inifile.--jsonDisplays the list of pipeline version operations in JSON format.--quietDisplays operation IDs, each on a new line.--scope <project HRN>Specifies the project HRN to use as the scope in the request. The value specified with--scopeoverrides any value forhere.token.scopeprovided in the credentials file used for the command.
For more information on using credentials and profiles, see Credentials setup.
Example:
The command below lists all the operations for the specified pipeline version.
olp pipeline version operation list \
f2fc50c4-a0ac-4c8a-9637-0d9b3a0d4a96 d77f288e-2c89-4c94-b4ba-79fbd1e26e79 --jsonolp pipeline version operation list ^
f2fc50c4-a0ac-4c8a-9637-0d9b3a0d4a96 d77f288e-2c89-4c94-b4ba-79fbd1e26e79 --jsonOutput:
{
"operations":[
{
"runAsId":"hrn:here:account::org:app/wL1ty1oSBydjvzkSqfIG",
"clientId":"(system)",
"requestType":"run",
"created":"2022-04-04T07:45:22.636888Z",
"options":{
"highAvailability":false
},
"id":"223af85f-0854-412a-b616-30897e41de9d",
"state":"succeeded",
"userId":"(system)"
},
{
"runAsId":"hrn:here:account::org:app/wL1ty1oSBydjvzkSqfIG",
"clientId":"wL1ty1oSBydjvzkSqfIG",
"requestType":"activate",
"created":"2022-04-04T07:45:16.160785Z",
"options":{
"highAvailability":false
},
"id":"b7114fde-4a5e-4bd8-acb9-cfa902e7e7ee",
"state":"succeeded"
}
]
}Updated 21 days ago