Code pipeline - automate testing - postman/newman

0

Hi ,

I have spring boot application , deployed on AWS Fargate and then automate test is being run. So the source provider is GITHUB and its stored as source artifacts in S3 as zipped folder.
I have integrated POSTMAN/NEWMAN in Code pipeline for test automation using Test stage and Code build.
The calls are success and report has been generated but as we all know , the report is put inside the ZIP file which is not accessible using S3 url.

Could you please advise

  1. I know we can't skip the zipping by code pipeline but is there way to unzip the file(which has random names)
  2. Whats the best approach if this is not correct approach please ?

Thanks,
Vel

feita há 4 anos556 visualizações
3 Respostas
0
Resposta aceita

I think the S3 deploy action will suit this purpose.

It's documented in this page: https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html

And here's a tutorial: https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-s3deploy.html

You probably want to set the Extract option to unzip the artifact.

Let me know if this works! :)

Matthew

AWS CodePipeline team

respondido há 4 anos
0

Thanks.. that worked like a charm :)

respondido há 4 anos
0

great :D

respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas