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

Fixing problems with current jenkins version #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tommyziegler
Copy link

  • Fixed certain small issues
    ** Check for FINISHED or FINALIZED phase
    ** Use job_url to find lastFailedBuild, because a job name can contain blanks
    ** Look for the correct username (in case we use authentication '/user/' finds the logged in user and not the commited by user name)

* Fixed certain small issues
** Check for FINISHED or FINALIZED phase
** Use job_url to find lastFailedBuild, because a job name can contain blanks
** Look for the correct username (in case we use authentication '/user/' finds the logged in user and not the commited by user name)
@tommyziegler
Copy link
Author

I hope you can add this fix to your project.

thx Tommy

@codedance
Copy link
Owner

Hi Tommy. Looks good. Was the driver for the change to make the code compatible with latest version of Jenkins, or the space in the job name?

I'll merge this in, but I wonder if I should also update the README with a version compatibility note?

@tommyziegler
Copy link
Author

Both cases was the driver in my environment. When you wanna be just compatible with the latest jenkins version, you need of course just the phase checking code. But we use also some jobs with blanks and that's why I fixed both issues.

For more informations about the jerkins version and since when they changed it, I would need to have a deeper look on the jenkins project. Yes a small NOTE is always useful.

@paoesco
Copy link

paoesco commented Aug 4, 2014

Hi,
I can confirm those changes.
I set up the Thunder Missile today and the changes I had to do in the script are exactly the same than this pull request.

@tommyziegler
Copy link
Author

Could you please let me know about the pull into your repo?

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.

3 participants