sorry, ignore the above statement - I was trying to configure my build to poll the repo for changes every minute by setting the cron to H/1 * * * *, but apparently there is a known issue where this expression will cause jenkins to only poll once per hour https://issues.jenkins-ci.org/browse/JENKINS-22129
changing the cron setting in my Stash Pull Requests Builder build trigger to H/2 * * * * fixed my problem
@nemccarthy Do you prefer pull requests at jenkinsci/stash-pullrequest-builder-plugin or nemccarthy/stash-pullrequest-builder-plugin?
Either is fine. They all make it to the same place. My repo tends to be more up to date
@nemccarthy Thanks. I had just put one up on the jenkinsci side but then saw here the other seemed a little more active. We ended up needing Pipeline support so I worked it in. (basically, refactor from AbstractProject to Job was really all.). But I'm a Jenkins noob as far as the coding side goes, so feel free to send it back to the drawing board if needed. :)
Howdy, I'm currently trying to get stash-pr-builder working, and I'm stuck on the authentication step of all things.
Fetch PullRequests (RepoName). Dec 07, 2016 12:32:00 PM INFO org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme basic authentication scheme selected Dec 07, 2016 12:32:00 PM INFO org.apache.commons.httpclient.HttpMethodDirector processWWWAuthChallenge Failure authenticating with BASIC 'Atlassian Bitbucket'@git.**.net:443
It's trying to login with a different username than the one provided configuring the build.
Howdy folks. I'm having an issue with the "Merge PR if build is successful" option. In both my git logs, and jenkins log, I get an HTTP 400, even though the URL appears correct. I can't seem to dig in much further than that though. Has anyone else had this issue?
David S Morse
I am trying to figure out the health of this plugin. I see a lot of open PR in the main git repos but no activity in a year, while there has been many forks with more recent activity. Does the official repo need help merging and releasing?
@nemccarthy please make a new release for this
Hello, I am currently trying to use this plugin with a Stash Server behind a proxy. I get following error: stashpullrequestbuilder.stashpullrequestbuilder.StashBuildTrigger.run() failed for hudson.model.FreeStyleProject@15dfb48c[IoCore/iocore-1.0-PR] java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673) at sun.reflect.GeneratedMethodAccessor307.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) Do you have any idea from where it come from ?
Hi! I'm trying to integrate this awesome plugin with a self-hosted Stash instance
But there's no way the job is being triggered
I've followed the README instructions step by step, everything case-sensitive and trying to get triggered without any success
Executing the job manually (obviously) fails, because the environment variables are not being set when you trigger the build manually
But It does not get triggered automatically in any way I've tried. I'll appreciate any help, probably I'm missing something... Does the Stash need to have something enabled in order to let the Jenkins instance listen the changes?