Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

5.2.0-SNAPSHOT CI build failing #9852

Closed

Description

@tobrun

CI has trouble publishing SNAPSHOT builds when a merge to master occurs. We are hitting 401 http code even though the credentials are correct (works for release branch). Looking into the timeline that this started to show, it seems that the build started to fail once we started to create SNAPSHOT builds for patch releases (eg. 5.1.x versions). I think version number is not taken in account, it tracks when a new version is first build and treats that as latest version.

Relevant links

cc @zugaldia

Activity

  1. added
    Android
    on Aug 24, 2017
  2. changed the title [-]5.2.0-SNAPSHOT failing[/-] [+]5.2.0-SNAPSHOT CI build failing[/+] on Aug 24, 2017
  3. zugaldia commented on Sep 7, 2017

    @zugaldia
    Member

    I found two unpublished releases on Sonatype:

    image

    Wonder if that could've been related. Either way, I just dropped them as they were unnecessary. Meanwhile, let's assume we only publish SNAPSHOTS for one version at a time. Sounds good?

  4. tobrun commented on Sep 11, 2017

    @tobrun
    MemberAuthor

    @zugaldia having multiple unpublished releases is related to how the current release workflow works. When we prep a release, we alter the branch of the release-all target branch and push the changes (this results in publishing a release). Afterwards we run the release script (which results in another push and thus another release). Finally we trigger a build with the script (which results in another release). We need to revisit how we do release now we are running on Circle-CI.

    let's assume we only publish SNAPSHOTS for one version at a time. Sounds good?

    👍

  5. tobrun commented on Sep 27, 2017

    @tobrun
    MemberAuthor

    @zugaldia it seems that #10069 hasn't resolved the issue, still seeing 401 unauthorized, see build. I'm suggesting to move forward with a 5.2.0-beta.1 asap so we have something to point user to.

    cc @Guardiola31337

  6. reopened this on Sep 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Androidbuild

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions