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

Go versions newer than 1.2.1 cannot be installed

    XMLWordPrintable

Details

    Description

      Any installations attempted from the new golang.org/dl/ site will fail (i.e. Go 1.2.2. Go 1.3 and newer).

      This is because the JSON contains a URL like "http://golang.org/dl/..." but this is actually an HTTP 302 redirect to somewhere else.

      Jenkins cannot handle HTTP 30x redirects when downloading tools automatically, so this fails — see JENKINS-23507.

      Until that is fixed, the temporary workaround should be to have the backend-crawler follow the redirects, so that Jenkins doesn't have to follow them.
      But this is fragile and not a good idea in general (i.e. we don't want to be breaking mirror networks etc.).

      Attachments

        Issue Links

          Activity

            orrc Christopher Orr created issue -
            orrc Christopher Orr made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-23507 [ JENKINS-23507 ]

            Code changed in jenkins
            User: Christopher Orr
            Path:
            golang.groovy
            http://jenkins-ci.org/commit/backend-crawler/872558d37a776d80f78cbcc7152844e1bf541153
            Log:
            [FIXED JENKINS-23509] Write Go download URLs which don't point to 302 redirects.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christopher Orr Path: golang.groovy http://jenkins-ci.org/commit/backend-crawler/872558d37a776d80f78cbcc7152844e1bf541153 Log: [FIXED JENKINS-23509] Write Go download URLs which don't point to 302 redirects.
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            orrc Christopher Orr made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 156224 ] JNJira + In-Review [ 207794 ]

            People

              orrc Christopher Orr
              orrc Christopher Orr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: