Change 29321

paul_allen (Paul Allen)
Paul Allen committed this change into //guest/perforce_software/p4jenkins/main/src
Request Review
Download .zip
Merge pull request #165 from skumar7322/UnshelveIssue

Unable to unshelve change: java.lang.IllegalStateException: Expected 1 instance of hudson.model.User$AllUsers but got 0 JENKINS-69172

When unshelve task is executed on a slave node, then Jenkins.getInstance() can not be used, hence no user is found while updating the changelog.
  • Files 3
  • Comments 0
3 edited 0 added 0 deleted
main/java/org/jenkinsci/plugins/p4/tasks/UnshelveTask.java#8
Loading...
main/java/org/jenkinsci/plugins/p4/unshelve/UnshelveBuilder.java#16
Loading...
test/java/org/jenkinsci/plugins/p4/scm/PerforceSCMSourceTest.java#29
Loading...
Tip: Use n and p to cycle through the changes.