Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-16615

Pipelines - fetching NOT the latest version of GitHub hosted package (fork) when building project using Yarn.

    XMLWordPrintable

Details

    Description

      Currently seems like Pipelines unnecessary cache earlier fetched GitHub fork which results in failed build - i.e.:

      #!js
      ...
      dependencies: {
      		"redux-query": "vizum/redux-query",
      }
      ...
      
      

      Using Yarn with same commands as in Pipelines on my local CLI works as intended - latest version of code has been pulled from GitHub and project has been build.

      I've tried clearing caches by pressing Pipelines dedicated button and by removing "node_modules" by hand in Pipelines script, but without success.

      Repo with issue:
      https://bitbucket.org/vizum/vizum-info-web/addon/pipelines/home

      On the attached screenshot you can see that package version is mismatched, but even without bumping it Yarn should download the master branch HEAD (latest commit).

      Attachments

        1. local.log
          1 kB
        2. pipelines.log
          4 kB
        3. Screen Shot 2018-07-02 at 08.30.04.png
          Screen Shot 2018-07-02 at 08.30.04.png
          837 kB

        Activity

          People

            Unassigned Unassigned
            2fdc4691242a Simek
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: