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

demandé il y a 4 ans556 vues
3 réponses
0
Réponse acceptée

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

répondu il y a 4 ans
0

Thanks.. that worked like a charm :)

répondu il y a 4 ans
0

great :D

répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions