haven-cypress-integration 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -100,7 +100,7 @@ fi
|
|
|
100
100
|
|
|
101
101
|
# Upload zipped report to S3
|
|
102
102
|
if [ -f "${ZIP_PATH}" ]; then
|
|
103
|
-
S3_BASE_KEY="
|
|
103
|
+
S3_BASE_KEY="artifacts/${PLAN_ID}/automation/${RUN_ID}"
|
|
104
104
|
S3_ZIP_KEY="${S3_BASE_KEY}/${ZIP_NAME}"
|
|
105
105
|
echo "☁️ Uploading ZIP to s3://${BUCKET_NAME}/${S3_ZIP_KEY}"
|
|
106
106
|
aws s3 cp "${ZIP_PATH}" "s3://${BUCKET_NAME}/${S3_ZIP_KEY}" || echo "❌ S3 ZIP upload failed"
|
|
@@ -205,7 +205,7 @@ async function uploadLogToS3(planId, runId) {
|
|
|
205
205
|
return null;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
const key = `
|
|
208
|
+
const key = `artifacts/${planId}/automation/${runId}/run_log`;
|
|
209
209
|
const fileStream = fs.createReadStream(logsPath);
|
|
210
210
|
|
|
211
211
|
try {
|