526 reads
4 comments
Firstly my build is succeeded. But i got error when i update s3 as artifacts.
[Container] 2023/03/28 15:04:05 Assembling file list [Container] 2023/03/28 15:04:05 Expanding /var/www/html/index.html [Container] 2023/03/28 15:04:05 Skipping invalid file path /var/www/html/index.html [Container] 2023/03/28 15:04:05 Phase complete: UPLOAD_ARTIFACTS State: FAILED [Container] 2023/03/28 15:04:05 Phase context status code: CLIENT_ERROR Message: no matching artifact paths found
Have you mention the Artifacts file(s) specified on buildspec.yml file has correct path and file name Lakshminarayanan
Sayali Jadhav Yes, I just following your document and created artifacts files: - /var/www/html/index.html. Its working perfectly if I choose option as No Artifacts. Its throwing error when I choose option - Artifacts as S3 storage. Should I update S3 bucket path in buildspec.yml? Or should I keep update in build - Actions - Artifacts - S3?
you have to keep update in build- Actions -artifacts -s3 and also add the path of artifacts in buildspec.yml file. Follow the article you will get the idea Lakshminarayanan