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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠