Skip to content

Environment status is set to inactive #1001

@gergokee

Description

@gergokee

Describe the bug
If you have two jobs in same workflow, which uses same environment, even though the second job is running after the first one, the first jobs is rewriting the second job, causing the environment to be shown as "inactive".

To Reproduce
Steps to reproduce the behavior:
1.) create a workflow with two jobs with same environment and url which are running after eachother.
2.) run the workflow and see that the first job deactivates the second one, even though it should be the other way around.

Expected behavior
The job which was ran later should have the final word, and thus the environment would show up as active with the url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions