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

preguntada hace 4 años556 visualizaciones
3 Respuestas
0
Respuesta aceptada

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 hace 4 años
0

Thanks.. that worked like a charm :)

respondido hace 4 años
0

great :D

respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas