-
Notifications
You must be signed in to change notification settings - Fork 129
Support Pipeline plugin from Jenkins 2.0 #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is also being tracked for the Bitbucket Cloud pullrequest builder plugin: https://issues.jenkins-ci.org/browse/JENKINS-31749 |
Jenkins file support would be awesome! Happy to take a PR on this one |
+1 |
+10 |
1 similar comment
+10 |
+100 |
1 similar comment
+100 |
Would someone like to raise a PR for this feature? |
jenkinsci/ghprb-plugin#270 |
Why is this closed? Because of lack of help? |
+1 been trying to figure out how to get this to work w/ pipelines w/o luck |
+1 need that too! |
jenkinsci#21 looks to add support for this. |
What would be the best way to get that pull request merged in? Further dev or testing needed? |
I've opened #110 so that this can be merged here and propagate through to jenkinsci, if that's the preferred approach. |
I've been bashing my head against this for a day or two. Is there any way we can get some movement? I'd be happy to build the plugin and patch it into our system to do some pre-merge QA if that'll help |
Installing on our chef build server now. Stay tuned. |
This looks good. I just ran our first successful PR build through it on a self-built HPI. IMO |
Working here as well on self-built HPI. |
Any chance this change loses the ignoreSsl functionality? I have the checkbox checked but I'm getting this for both Pipeline and non-Pipeline jobs:
I'm not seeing this problem on my other Jenkins instance that has the official 1.7.0 version, nor when I downgrade this Jenkins instance to 1.7.0 (although of course I have to use non-Pipeline jobs then). Update: I gave up and imported our Stash SSL cert into the JVM cacerts file, and then the job ran (so this is clearly an issue). I've encountered other problems though so it doesn't seem like this is ready for primetime. Here is a short list:
|
Resolved by #110 |
When a pull request is created in bitbucket jenkins build does not get triggered. PullrequestID and other parameters are not passed from bitbucket pull request to jenkin job. I see in log below Exception. Jul 16, 2018 10:50:00 AM org.apache.commons.httpclient.HttpMethodDirector processWWWAuthChallenge Let me know how to fix this. |
Would allow using this plugin programatically from a
Jenkinsfile
Details at:
https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md#plugin-developer-guide
Possibly as simple as replacing
AbstractBuild
withRun
stashnotifier-plugin is looking to implement similar support: jenkinsci/stashnotifier-plugin#92
There is already a plugin that supports both BitBucket Cloud and Bitbucket Server/Stash along similar lines, though it's support for PR's is more limited, not supporting things like using the merge branch, etc and is restricted to multi-branch source type Jobs. https://github.com/jenkinsci/bitbucket-branch-source-plugin https://documentation.cloudbees.com/docs/cje-user-guide/bitbucket.html
It appears that @tjkierzkowski may have made a start on this:https://github.com/nemccarthy/stash-pullrequest-builder-plugin/compare/master...tjkierzkowski:pipeline_conversion?expand=1
The text was updated successfully, but these errors were encountered: