sbt-release icon indicating copy to clipboard operation
sbt-release copied to clipboard

sbt release hangs on [info] Checking remote [origin] in jenkins

Open RadJamesway opened this issue 7 years ago • 2 comments

I have a publish build which is hanging whenever it reaches

[info] Loading project definition from ...
[info] Set current project to ...
[info] Starting release process off commit: ...
[info] Checking remote [origin] ...   <----------hangs

I'm also trying to use with-defaults so that its a silent publish.

It seems to work locally, but I can't get it to work in Jenkins. I apologize if this is a jenkins question, but I'm just curious if anyone has seen this before.

I'm only calling sbt "release with-defaults" from jenkins script. Seems like it should work.

sbt-release 1.0.5, 1.0.3 sbt 0.13.12

RadJamesway avatar Sep 15 '18 00:09 RadJamesway

I have the same issue. It is waiting for github username input. I believe its because I'm trying to use GitHub tokens to connect to Github API but its not supported by sbt-release

garraspin avatar Dec 05 '18 09:12 garraspin

Same here, more recent tools for CI/CD integrations with GitHub utilise power of their API (as example Github Organization plugin for Jenkins), and that means no username/password or ssh key based access. without oAuth support sbt-release completely useless :(

md2k avatar Dec 05 '18 09:12 md2k