easyStudy question · answer published in Linux interview questions, so no pointsshell-scriptingci-cd
What set -euo pipefail does
Many CI scripts start with set -euo pipefail. What does this line do?
#!/usr/bin/env bash set -euo pipefail ./build.sh | tee build.log echo "Deploying $TARGET"
Discussion 0
Join free to post in the discussion.
Related questions
- CI vs Continuous DeliveryDevOps Engineer
- Where GitHub Actions workflows liveDevOps Engineer
- GitLab CI stagesDevOps Engineer
- Why keep a Jenkinsfile in the repoDevOps Engineer
- Parking unfinished changesDevOps Engineer
- Copying one fix to a release branchDevOps Engineer
- Version bump for a breaking changeDevOps Engineer
- Build once, promote everywhereDevOps Engineer