Sign in
Log inSign up
Sayali Jadhav

4 comments

Lakshminarayanan
Lakshminarayanan
Mar 28, 2023

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

·
·3 replies
Sayali Jadhav
Sayali Jadhav
Author
·Mar 28, 2023

Have you mention the Artifacts file(s) specified on buildspec.yml file has correct path and file name Lakshminarayanan

·
Lakshminarayanan
Lakshminarayanan
Mar 29, 2023

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?

·
Sayali Jadhav
Sayali Jadhav
Author
·Mar 29, 2023

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

·