Comments (36)
If you are using the latest version would you please add a logger for org.jenkinsci.plugins.ghprb, then we can verify that it is getting the credentials as expected
from ghprb-plugin.
I got this http://pastebin.com/h1x1Ygx6 after doing ok to test on a pull request in realistic biomes.
from ghprb-plugin.
It looks like the listing of credentials works, but for some reason the last filter didn't return them.
from ghprb-plugin.
Can I send you a rogue version with some alternate code?
from ghprb-plugin.
Sure how would it work.
On Jul 4, 2015 3:37 PM, "David Tanner" [email protected] wrote:
Can I send you a rogue version with some alternate code?
—
Reply to this email directly or view it on GitHub
#129 (comment)
.
from ghprb-plugin.
Download the file from this link, then go to the updates page and pick the file.
https://drive.google.com/file/d/0B8rz_7UCga_nQWZQNm9KMzg0aEE/view?usp=sharing
from ghprb-plugin.
@DavidTanner new logs http://pastebin.com/m8dJFPtY Also if it makes a difference I normally copy a project that is already done and update it with the corrected info although those projects used to work until some time later.
from ghprb-plugin.
So from the logs it would appear that the credentialsID is incorrect. Try saving the configuration for the job that is failing again, then it should get the right setting.
from ghprb-plugin.
Would this be under GitHub Pull Request Builder? I have the Github server API url set to: https://api.github.com and the credentials set for username and password. When I press Connect to API it says Connected to https://api.github.com as null
from ghprb-plugin.
There are three different places to look for this. There are the Jenkins credentials, then the global setup under /configure, finally there is the credentials selection on the job. I am trying to think which one is set up incorrectly. Check the job configuration.
from ghprb-plugin.
Under the project the credentials are set to none. After changing them to the globally defined still getting the error. Does testing the connection and it saying null mean anything?
http://pastebin.com/LYAq610p
Also thx for the help.
from ghprb-plugin.
Just ran with only credentials in the repo set http://pastebin.com/Ezwgki8U (from the jenkins log).
And this http://pastebin.com/db9Jk7jN was from the jar log while being built. It says that is sent a comment when it did not. Also at the bottom it does in fact set up the correct message in that special box that goes green saying that build was successful. It just does not comment.
from ghprb-plugin.
So it looks like you have removed all credentials. Add some more through the pull request section of the global configure page
from ghprb-plugin.
Would you please check 1.24.8?
from ghprb-plugin.
@DavidTanner Got this log but no jars are being built. Only in the jenkins config is the username/password configured.
from ghprb-plugin.
There is an issue with the webhooks where the rep name has to match the case. This is fixed in 1.25 or you can check that the repository url in the job matches the case of the GitHub repo
from ghprb-plugin.
@DavidTanner http://build.civcraft.co:8080/job/PrisonPearl-pull/
It's just stuck.
from ghprb-plugin.
can you see anything in the system logs?
from ghprb-plugin.
You might want to just restart that instance.
from ghprb-plugin.
from ghprb-plugin.
Can you please post a job configuration
from ghprb-plugin.
Is there an easy way to do that?
from ghprb-plugin.
The easiest is to get the config.xml
from ghprb-plugin.
Where can i find the file?
from ghprb-plugin.
Is this it http://pastebin.com/L59sqNR1
from ghprb-plugin.
That is the job config file for job PrisonPearl UUID development, and it doesnt have the pull request builder set up as its trigger. Did you mean to post a different job?
from ghprb-plugin.
Sorry havent commented in a while. Anyways recently tried removing everything and still have an issue which was weird. By removing everything I uninstalled the plugin and when to manage old data and deleted it and reinstalled. Still not get messages about build status.
What I did notice is it tends to double post on pull request creation, here are latest logs from newest version. http://pastebin.com/0aM03q50
from ghprb-plugin.
I'll get you the job config for this
from ghprb-plugin.
from ghprb-plugin.
The build is being triggered? Can you post the logs of the actual build?
from ghprb-plugin.
http://pastebin.com/dpxSU5kQ there you go. It says its posting the message when it is not.
from ghprb-plugin.
From your post it is updating the status. Setting status of 1f268b37ad5f0b206d71d81c7ed5f57b7308b8f5 to FAILURE with url http://build.civcraft.co:8080/job/FactoryMod-pull/42/ and message: 'Build failed. No test results found.'
Civcraft/FactoryMod#138 Look at the latest build results for default
status and you will see that the status and link matches. Are you looking for comments to be posted instead?
from ghprb-plugin.
the trigger plugin handles updating the comment for you, so you don't need the extra status updates, and they are probably being overridden?
from ghprb-plugin.
I am, is that no longer the case? Also any idea on why it is double posting the type ok to test when someone sends a pull?
from ghprb-plugin.
The double post, I think, happens because you have multiple jobs that are set up for that repo??? The trigger has always posted the status to the commit, only recently I have added a way to remove any kind of status updates.
from ghprb-plugin.
In order for there to be comments, instead of status updates, you want to add the Build Status Messages and put something in there.
from ghprb-plugin.
Related Issues (20)
- Unable to connect to GitHub HOT 2
- Worker nodes aren't started when pipeline requests to run parallel parts on same node
- Log4j in ghprb? HOT 1
- Trigger based on directories HOT 1
- Pull request approval without fetch
- usage of org-list may incur github rate limit
- Publish multiple github-statuses from the same pipeline job HOT 1
- ${ghprbActualCommit} does not pick up current commit from hook if an additional branch is specified. HOT 2
- Create new pull request with a comments,but not be triggered. Comment a gain and reopen the pull request,then be triggered
- Restrict Specific branch for Pull request
- What kind of "actions" does the Pull request Webhook of the Github pull request builder support?
- What kind of "actions" does the Pull request Webhook of the Github pull request builder support? HOT 1
- Plug-in Question
- Changing the status context (name) in the config while a job is running leaves the old status in pending forever
- Changing(rotating) plugin credentials take no effect until Jenkins is restarted due to cached repo object
- Is this plugin is not maintained anymore? if so, is there any alternative plugin for it ? HOT 1
- Can Help WIth Plugin Upgrade
- Warning: The currently installed plugin version may not be safe to use. Please review the following security notices:
- Not able to trigger jenkins job by adding specific labels
- When A PR is not mergeable the Github status check does not get updated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghprb-plugin.