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

已提问 4 年前556 查看次数
3 回答
0
已接受的回答

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

已回答 4 年前
0

Thanks.. that worked like a charm :)

已回答 4 年前
0

great :D

已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则