Coder Social home page Coder Social logo

Comments (5)

shobande-femi avatar shobande-femi commented on July 22, 2024 1

Can you post the out of the log file produced by the plugin?

I struggled with this issue over the past couple of days. In my case, the specifiedBranch was absent from the working tree. (I use Github Actions and it clones the repo in some sort of minimalist fashion).

My solution was to run git fetch origin develop:develop right before runAffectedUnitTests

Note: in this case develop is the specifiedBranch. Replace with whatever branch you specified.

from affectedmoduledetector.

6hundreds avatar 6hundreds commented on July 22, 2024

Experienced this stuff too at Bitrise. Perhaps you are using SpecificBranchCommit configuration with branch = {yourDevelopBranch} but your PRs is not targeted to develop, but in another branch. That's was a reason for me.

from affectedmoduledetector.

vyshas avatar vyshas commented on July 22, 2024

@6hundreds we use bitrise as well and currently trialing this plugin. So does this mean that any branches that doesn't point to the branch mentioned in specificBrancCommit config will fail from running affected tests ? Do we know if specifiedBranchCommit accepts regex?

from affectedmoduledetector.

antwan-flinkhub avatar antwan-flinkhub commented on July 22, 2024

@6hundreds yes we do have specificBrancCommit which point to develop but the PR is also pointing to develop

from affectedmoduledetector.

joshafeinberg avatar joshafeinberg commented on July 22, 2024

Hello, I think @shobande-femi pointed out what is probably going wrong. You need to make sure that your CI has access to the git tree that it needs. You can find a log with a more detailed error in your logFolder/logFilename

As this hasn't been updated in a few months I am going to close, please reopen or file a new ticket if you are still having issues

from affectedmoduledetector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.