AIO CLI CLOUDMANAGER | Code Quality Pipeline logs download | Community
Skip to main content
August 28, 2024
Solved

AIO CLI CLOUDMANAGER | Code Quality Pipeline logs download

  • August 28, 2024
  • 2 replies
  • 1124 views

Hi Team,

 

we are using aio cli and cloudmanger plugin to start the execution of cloud manager pipeline Gitlab pipeline.

 

I am able to download the logs from build action and and  "Download Details" from CodeQuality action using below command :

aio cloudmanager:get-execution-step-log builkd/codeQuality

 

I am not able to find the way to download the logs at below steps : (please refer attached SS)

1.Code Quality pipeline -> Code Scanning -> Download log 

 

how can i download logs of code scanning report? Please help.

 

 

 

 

Thanks in advance 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by h_kataria

Can you try this once 

aio cloudmanager:execution:get-step-log <YOUR_PIPELINE_ID> <YOUR_EXECUTION_ID> codeQuality -f sonarLogFile

or with the alias 

aio cloudmanager:get-execution-step-log <YOUR_PIPELINE_ID> <YOUR_EXECUTION_ID> codeQuality -f sonarLogFile


Reference : https://github.com/adobe/aio-cli-plugin-cloudmanager#aio-cloudmanagerexecutionget-step-log-pipelineid-executionid-action 

2 replies

RiteshY18
Community Advisor
Community Advisor
August 29, 2024

did you check your role, i think you should have a developer role for the cloud manager product profile 

h_kataria
Community Advisor
Community Advisor
August 29, 2024

Hi,

If I understand this correctly then you are able to download it using aio cli but not able to download it from cloudmanager UI ? In your screenshot, I see "Download log" is enabled for you for Code Scanning step. So, are you facing any issue while trying to download it ? 

August 29, 2024

Hi @h_kataria 

I am able to download all logs from cloudmanager UI, I did not find any way to download below  "Download log" file from aio cli . 

Code Scanning -> Download log 

FYI, I am able to download "Review summary" and "Download Details" files from aio cli

 

 

h_kataria
Community Advisor
h_katariaCommunity AdvisorAccepted solution
Community Advisor
August 29, 2024

Can you try this once 

aio cloudmanager:execution:get-step-log <YOUR_PIPELINE_ID> <YOUR_EXECUTION_ID> codeQuality -f sonarLogFile

or with the alias 

aio cloudmanager:get-execution-step-log <YOUR_PIPELINE_ID> <YOUR_EXECUTION_ID> codeQuality -f sonarLogFile


Reference : https://github.com/adobe/aio-cli-plugin-cloudmanager#aio-cloudmanagerexecutionget-step-log-pipelineid-executionid-action