Skip to content

Extra build from master on release tag should not upload non-snapshot artifacts #13

@szpak

Description

@szpak

When an extra build from master on release tag is performed (e.g. having cron buildiing the latest commit in master) the non-snapshot artifacts should not be uploaded. It creates a complicit Nexus repository which breaks the following build.

Sample cron job: https://travis-ci.org/szpak/mockito-java8/jobs/352115159

Possible extra check:

✔ in release branch
  ✘ not CRON build

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions