question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiple pact-directories

See original GitHub issue

I would like to have a feature to specify more than one pact directory. We have projects with subprojects and when building with jenkins the path differs from the path we use when executing locally. So the need appears to define more than one directory to search pacts in it… Locally I have to use <pactDirectory>target/pacts</pactDirectory> But with Jenkins it would be <pactDirectory>mysubproject/target/pacts</pactDirectory>.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
uglyogcommented, Jun 17, 2018

Fix has been released with version 3.5.18

0reactions
MeadowValleycommented, May 15, 2018

Additionally it would be great if when a directory is not found, that one is just skipped with no effect (the others should be checked regardlessly).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple pact-directories · Issue #652 · pact-foundation/pact-jvm
I would like to have a feature to specify more than one pact directory. We have projects with subprojects and when building with...
Read more >
Publishing Consumer Contract from Multiple Pact Files
I want to generate pact files for the consumer from unit tests and save them under a directory called '/pacts'.
Read more >
Pact Maven plugin | Pact Docs
This is a Maven plugin for verifying pacts against a running provider ... Verifying all pact files from multiple directories for a provider​....
Read more >
Publishing Consumer Contract from Multiple Pact Files | Questions
I want to generate pact files for the consumer from unit tests and save them under a directory called '/pacts'. Because of the...
Read more >
How to write and validate Pact contracts using JUnit5 and ...
There are many other matches available, if needed, such as . ... Autogenerated target/pacts folder where the PACT contract can be found within...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found