Is it possible to run a jenkins-style svn checkout (SVNKit, credentials plugin, etc.) from an EC2-plugin provisioned agent's init script?
I'm getting several classes of errors using the subversion plugin and the ec2 plugin. All the errors so far have manifested themselves during the checkout phase of my build tasks. In some cases jenkins is unable to create workspace directories, in others the svn checkout fails mid-checkout. The most recent error I've seen is jenkins being unable to load the credentials plugin. When such an error happens in one task it indicates that all tasks allocated to this slave will fail, something is wrong with the slave. I'm currently implementing an init script in which I create a directory and checkout the code to that directory. If the init script succeeds then I clean up and let jenkins take it from there, if the script fails I halt the machine and let the ec2 plugin start up a new machine from there. Unfortunately, the most recent error (being unable to load the credentials plugin) would have never been caught by the init script as I'm using typical bash code to perform the checkout. So, is it possible to run a jenkins-style svn checkout (SVNKit, credentials plugin, etc.) from an EC2-plugin provisioned agent's init script? If not, does anyone have advice on how they've dealt with this problem? Thanks. -- Love in Jesus Christ, John Alfred Nathanael Chee http://www.biblegateway.com/ http://web.cecs.pdx.edu/~chee/ -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAHB4qrJwKpOjbRfZ5CO8Txcit%2Bn%2B72K-hCT3L7uM9fSuJWHohA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.