Learn Everything

Paths/DevOps Engineer/AWS / Object Uploads

Practice Taskbeginneraws-cli (lab profile)Ask AI

Upload a Build Artifact

Every CI run produces things worth keeping — test reports, build logs, binaries. Write a build report to disk, create a bucket for artifacts and upload the file with aws s3 cp.

Validator

⏱ 0:00

IDLE — checks run live as you type commands; submit when done

01Requirements

live checks
  • File ~/build-report.txt exists with the build result○
  • Bucket learner-build-artifacts exists○
  • build-report.txt is uploaded into the bucket○

02Walkthrough

1 of 7 revealed
  1. 01

    Write the build report

    echo prints text and the > redirect writes it into a file, creating it if needed. This file stands in for any artifact a pipeline would produce.

    echo 'build 42 successful' > ~/build-report.txt
  2. 6 locked · each failed submit reveals one

03Stuck?

0 of 3 revealed

Take a hint without losing the lab — each one points at the thing to look at, not at the answer.

04AI Tutor

guides, never solves

Tell me what you're stuck on — I'll nudge, not solve. Which requirement are you looking at?

04Notebook

saved locally in this browser

learner@lab — aws-cli (lab profile)

↑/↓ recalls commands · Ctrl+Enter submits · type help for the command list