-
Notifications
You must be signed in to change notification settings - Fork 128
Fixing Build status for step bundles #1088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cli/run_util.go
Outdated
|
||
// ------------------------------------------ | ||
// Main - Preparing & running the steps | ||
for idx, stepPlan := range plan.Steps { | ||
log.Printf("Step %d: %s)", idx, stepPlan.StepID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this log in long term?
4a91ca3
to
9519106
Compare
@@ -166,10 +166,16 @@ func (r WorkflowRunner) activateAndRunSteps( | |||
failedStepRunResult := currentBuildRunResult.FailedSteps[0] | |||
failedStepEnvs := bitrise.FailedStepEnvs(failedStepRunResult) | |||
*environments = append(*environments, failedStepEnvs...) | |||
if currentStepBundleUUID != "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also add a test case for verifying the failed step env vars within a step bundle?
bitrise.yml
Outdated
@@ -182,6 +182,20 @@ workflows: | |||
set -ex | |||
exit 0 | |||
|
|||
debug: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we clean this up before merge?
bitrise.yml
Outdated
@@ -358,7 +372,7 @@ step_bundles: | |||
- content: |- | |||
#!/usr/bin/env bash | |||
set -ex | |||
go install github.com/jstemmer/go-junit-report/v2@latest | |||
#go install github.com/jstemmer/go-junit-report/v2@latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
Checklist
README.md
is updated with the changes (if needed)Version
Requires a PATCH version update
Context
BITRISE_BUILD_STATUS
env was not set to failing inside a Step bundle.Changes
Investigation details
Decisions