Skip to content
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

feat(1572): [1] Add FIXED status to the build #22

Merged
merged 9 commits into from
Aug 19, 2020

Conversation

ibu1224
Copy link
Contributor

@ibu1224 ibu1224 commented Aug 16, 2020

Context

feat: screwdriver-cd/screwdriver#1572

Objective

This PR adds the status "FIXED" when a build has failed in the past and the build succeeds again.
Notification-slack-plugin receives a build status label (isFIxed) from screwdriver api.
Therefore, The "FIXED" status uses the same COLOR_MAP as the "SUCCESS" status.

In order for users to receive FIXED notifications, "FAILURE" must be set to screwdriver.yaml.

The image below is a FIXED notification sent by email.
email-fixed

References

issue: screwdriver-cd/screwdriver#1572
[2] notifications-slack screwdriver-cd/notifications-slack#30
[3] screwdriver-api screwdriver-cd/screwdriver#2182
[4] guide screwdriver-cd/guide#407

License

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@tkyi
Copy link
Member

tkyi commented Aug 18, 2020

Can you remove package-lock.json? otherwise LGTM 👍

@ibu1224
Copy link
Contributor Author

ibu1224 commented Aug 19, 2020

@tkyi

Can you remove package-lock.json?

I removed package-lock.json.

@ibu1224 ibu1224 closed this Aug 19, 2020
@ibu1224 ibu1224 reopened this Aug 19, 2020
@tkyi tkyi merged commit f637ae1 into screwdriver-cd:master Aug 19, 2020
@ibu1224 ibu1224 deleted the issue1572 branch August 19, 2020 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants