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

5.2.0-SNAPSHOT CI build failing #9852

Closed
tobrun opened this issue Aug 24, 2017 · 3 comments
Closed

5.2.0-SNAPSHOT CI build failing #9852

tobrun opened this issue Aug 24, 2017 · 3 comments
Labels
Android Mapbox Maps SDK for Android build

Comments

@tobrun
Copy link
Member

tobrun commented Aug 24, 2017

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

@tobrun tobrun added Android Mapbox Maps SDK for Android build labels Aug 24, 2017
@tobrun tobrun changed the title 5.2.0-SNAPSHOT failing 5.2.0-SNAPSHOT CI build failing Aug 24, 2017
@zugaldia
Copy link
Member

zugaldia commented Sep 7, 2017

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?

@tobrun
Copy link
Member Author

tobrun commented Sep 11, 2017

@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?

👍

@tobrun
Copy link
Member Author

tobrun commented Sep 27, 2017

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android build
Projects
None yet
Development

No branches or pull requests

2 participants