Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AIO CLI CLOUDMANAGER | Code Quality Pipeline logs download

Avatar

Level 2

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.

 

Ajay_KapardhiKa_0-1724859529488.png

 

 

 

Thanks in advance 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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-pipelinei... 

View solution in original post

5 Replies

Avatar

Level 7

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

Avatar

Community Advisor

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 ? 

Avatar

Level 2

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

 

 

Avatar

Correct answer by
Community Advisor

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-pipelinei...