octopus build-information list
octopus build-info ls
List only latest build information for all packages
octopus build-info ls --latest
List all build information for a specific package id
octopus build-info ls --package-id ThePackage
List only latest build information for a specific package id
octopus build-info ls --package-id --latest
default (table) output
$ octopus build-info ls --package-id package-11383 --latest --output-format table
PACKAGE ID VERSION ENVIRONMENT BUILD NO BRANCH COMMITS WORKITEMS
package-11383 0.1.1000 BitBucket 288 main 3 0
json output
$ octopus build-info ls --package-id package-11383 --output-format json --latest
[
{
"Id": "BuildInformation-7000",
"PackageId": "package-11383",
"Version": "0.1.1000",
"Branch": "main",
"BuildEnvironment": "BitBucket",
"VcsCommitNumber": "314cf2c3ee916c92a384c2796a6abe332d678e4f",
"VcsType": "Git",
"VcsRoot": "http://bitbucket.org/org/repo",
"Commits": [
{
"Id": "314cf2c3ee916c92a384c2796a6abe332d678e4f",
"Comment": "MAN-1 - test runbook with 0.15.0 of pipe"
},
{
"Id": "4fa86f8a9da6475eb195dd4dad817259",
"Comment": "MAN-2 - antoher runbook that is broked"
},
{
"Id": "e4c5e95bb0f54a3fbb2eb445ecd1557f",
"Comment": "MAN-22 - this is a missing work item"
}
]
}
]
basic output
$ octopus build-info ls --package-id package-11383 --latest --output-format basic
package-11383 0.1.1000 (BuildInformation-7000)
Build details
Environment: BitBucket
Branch: main
URL: https://bitbucket.org/org/repo/addon/pipelines/home#!/results/288
VCS Details
Type: Git
URL: http://bitbucket.org/org/repo
Commit details
Hash: 314cf2c3ee916c92a384c2796a6abe332d678e4f
URL: http://bitbucket.org/org/repo/commits/314cf2c3ee916c92a384c2796a6abe332d678e4f
314cf2c3 MAN-1 - test runbook with 0.15.0 of pipe
4fa86f8a MAN-2 - antoher runbook that is broked
e4c5e95b MAN-22 - this is a missing work item
List all build information
List only latest build information for all packages
List all build information for a specific package id
List only latest build information for a specific package id
default (table) output
json output
basic output
[sc-83928]