Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-19718

No source zip produced when buildinfo.json can't be resolved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.3.0.Beta1
    • 4.3.0.Alpha2
    • build
    • None

      From the latest master build:

      http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-build-sites.aggregate.site_master/2015-04-27_12-45-49-B9759/logs/BUILDLOG.txt

      [INFO] --- repository-utils:0.22.1-SNAPSHOT:generate-repository-facade (generate-facade) @ org.jboss.tools.site.core ---
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-base_master/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-server_master/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-openshift_master/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-jst_master/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-browsersim_master/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-aerogear_master/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-hibernate_master/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-javaee_master/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-webservices_master/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/updates/stable/luna/core/portlet/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-vpe_master/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-arquillian_master/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-forge_master/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-livereload_master/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-central_master/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/updates/requirements/xulrunner-1.9.2/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/updates/stable/luna/core/freemarker/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-birt_master/buildinfo.json
      [WARNING] Could not access build info at http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.50.0.Beta1-SNAPSHOT/buildinfo.json
      [INFO] Building zip: /mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.site_master/sources/aggregate/site/target/org.jboss.tools.site.core-4.3.0-SNAPSHOT.zip
       

      Seems the problem is twofold:

      a) when no json files are found, we should fall back to another URL. (I think I might have an open PR for this.)

      For example, instead of http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-openshift_master/buildinfo.json we should be looking at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-openshift_master/latest/all/repo/buildinfo.json

      b) the generated sources zip needs to exist even it's empty

            nickboldt Nick Boldt
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: