Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2536

tarball.destination is ignored when set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • build
    • None

    Description

      There seems to be a bug in the current logic, assigning the destination filename of a component artifact. Current logic does this

              if (!config.bigtop.components[target].tarball.source.isEmpty())
                config.bigtop.components[target].downloaddst = DL_DIR + '/' + config.bigtop.components[target].tarball.source
      

      which effectively ignores the destination filename. The potential issues could come if we build more than one component of a git repo (say GH), and all of those are downloading the master branch archive. In this case, the first component artifact will be stored as dl/master.zip, but the consequent component builds will simply skip the download part (as the master.zip is already present) and try to proceed with building a wrong source code.

      Attachments

        Issue Links

          Activity

            People

              cos Konstantin I Boudnik
              cos Konstantin I Boudnik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: