Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23029

Single source doesn't seem to work (with Git?)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • literate
    • None

      I've create a new literate added a single source, chose Git,
      pasted my repo (file:///home/developers/ckutz/lab/project-template/.git)

      After saving, the literate job starts to scan the branches, however fails with

      404 Not Found
      
      Stapler processed this HTTP request as follows, but couldn't find the resource to consume the request
      
      -> evaluate(<hudson.model.Hudson@61c42ccd> :hudson.model.Hudson,"/job/Test-single/branch/lastFailedBuild")
      -> evaluate(((StaplerProxy)<hudson.model.Hudson@61c42ccd>).getTarget(),"/job/Test-single/branch/lastFailedBuild")
      -> evaluate(<hudson.model.Hudson@61c42ccd>.getJob("Test-single"),"/branch/lastFailedBuild")
      -> evaluate(<org.cloudbees.literate.jenkins.LiterateMultibranchProject@5bff9b6[Test-single]> :org.cloudbees.literate.jenkins.LiterateMultibranchProject,"/branch/lastFailedBuild")
      -> evaluate(<org.cloudbees.literate.jenkins.LiterateMultibranchProject@5bff9b6[Test-single]>.getBranch("lastFailedBuild"),"")
      -> unexpected null!
      If this 404 is unexpected, double check the last part of the trace to see if it should have evaluated to null.
      

      (That's the console of the lastFailedBuild for that job)

      BTW: the Git URL is not saved in the Job configuration either or at least it's not shown again when I'm accessing the 'Configure' page later

            stephenconnolly Stephen Connolly
            kutzi kutzi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: