Jenkins fails ALL THE TIME with hudson.util.IOException2

后端 未结 1 776
广开言路
广开言路 2021-01-06 15:10

This keeps on happening and then resolving itself randomly throughout the day, across multiple Jenkins jobs:

hudson.util.IOException2: revision check failed          


        
相关标签:
1条回答
  • 2021-01-06 15:37

    This looks like an error using svnkit. What version of the SVN plugin are you using? When did this start happening? Can you do a checkout on your server using the Subversion URL?

    Here's what I would do:

    • On your Windows Server 2008 R2 virtual machine, install the Subversion command line client, if one isn't already installed.
    • On that build system, disable the build that's having the error. This way, it doesn't get built on you while you're debugging what's wrong.
    • Using the console, find the work directory where that job is being checked out. Try to do a checkout there yourself.
    • If you can't do a checkout, but get some other error, it's possible that there's a network issue involved.
    • If you can do a checkout from that server, then the problem might be the Subversion plugin version. Try to move the plugin back to the previous version of that plugin. Right now, it's at 2.2 (which works for me). The previous version I can downgrade to is 1.54.

    Who is the user who runs Jenkins? I know on Windows, it can be a service account which makes it hard to debug these things. I usually change that to a user called "Jenkins" I can log in as. This way, I'm the same user that's running Jenkins.

    See if this helps you pin down the issue.

    0 讨论(0)
提交回复
热议问题