Skip to content
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

TeamStatus: Fix status posting for PRs and commits #217

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fbaeuerle
Copy link
Contributor

Due to some misasumptions about the ways the tfs-plugin can trigger a
job, there was a too early (and duplicated) check that caused calling
TeamStatus.addStatus with a null-pointer.

This also fixes the status posting for commits.

Fixes: JENKINS-54569

Due to some misasumptions about the ways the tfs-plugin can trigger a
job, there was a too early (and duplicated) check that caused calling
TeamStatus.addStatus with a null-pointer.

This also fixes the status posting for commits.

Fixes: JENKINS-54569
@fbaeuerle
Copy link
Contributor Author

could someone please re-trigger the build? The build failed due to jenkins remoting problems.

This is required for a Code pushed event to work with a generic build
trigger.
@fbaeuerle
Copy link
Contributor Author

Okay, apparently the Event payloads look different if you select "Trigger generic build" instead of "Trigger git build", the last commit handles that behavior.

@sterchelen
Copy link

+1 Could you merge it ?

@fbaeuerle
Copy link
Contributor Author

@sterchelen I do not have write access to this repo, so I cannot.

The last commit I got merged by opening a VSTS (now azure devops) ticket and waiting a few months.

@sterchelen
Copy link

@Mrflow Ok. There is not workaround to get back status working ?

@fbaeuerle
Copy link
Contributor Author

@sterchelen You can build it yourself and install your build on your Jenkins instance. That's what we are doing here as well (including a few other not-yet-merged PRs).

@sterchelen
Copy link

sterchelen commented Feb 18, 2019 via email

@fbaeuerle
Copy link
Contributor Author

I cannot say that for sure, but to me it very much looks like it is.

@gokhansengun
Copy link

Hey @Mrflow, do you mind sharing your method of managing the plugin?

@fbaeuerle
Copy link
Contributor Author

fbaeuerle commented May 13, 2019

@gokhansengun you basically just have to clone the repo and run mvn package.

The result is a file that you can upload on your Jenkins installation as a plugin.

@gokhansengun
Copy link

That makes a ton of sence @Mrflow, thanks 👍 Just had enough time not touching Java for years :)

@ricardf
Copy link

ricardf commented Mar 4, 2020

Will they integrate at some point?

@fbaeuerle
Copy link
Contributor Author

@ricardf No, I think this plugin seems to be abandoned as Microsoft nowadays offers its own CI solution. You can also integrate Jenkins builds through this solution, i.e. by wrapping the Jenkins build with an azure devops build. Scales badly though (configuration-wise and also it will block a build node for each build).

The only way I ever was able to get changes merged was contacting the Microsoft support, they might poke the people responsible for this. But even then it took me months to get changes merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants