Comments (5)
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.
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.
@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.
@6hundreds yes we do have specificBrancCommit
which point to develop but the PR is also pointing to develop
from affectedmoduledetector.
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)
- excludedModules is not working with custom task. HOT 4
- CustomTask should use Gradle's NamedDomainObjectContainer or NamedDomainObjectSet HOT 1
- Support exotic non standard Gradle project structures
- DependencyTracker written in Groovy
- Add an option to exclude jvm test paths HOT 1
- Assemble only affected Apps in multimodle project HOT 1
- Mixing java libraries with android libraries HOT 1
- Getting a list of changed/dependent modules without running tests HOT 1
- Unable to get Log files to generate HOT 7
- When running with clean Task, all the tests are run HOT 1
- A version bump to a runtimeOnly dependency does not mark module as affected HOT 2
- Help debugging why unnecessary tasks are running HOT 4
- Depends on gradle tasks only if project is affected HOT 3
- Dry run of gradle cmd HOT 1
- Sample project fails to compile HOT 2
- Custom task executed on all modules instead of only affected modules HOT 8
- Slashes in current branch name being replaced with backslashes on windows HOT 1
- running all tests everytime HOT 1
- Weird behavior on git commands HOT 4
- Non-java Modules don't get tested
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from affectedmoduledetector.