Patches not being applied during Jenkins builds
See original GitHub issueI have installed patch-package to use in my react-app and running locally, everything works fine. With an update to date patch file, running yarn && yarn run build
correctly applies the patches.
However, when Jenkins tries to run yarn && yarn run build
, the patches do not get applied correctly. I have tried installing both patch-packaage and postinstall-postinstall as both a regular dependency and a dev dependency.
Is there any other obvious steps I might be missing here? Has anyone tried using this package with a deployment process, such as Circle CI or Jenkins?
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (5 by maintainers)
Top Results From Across the Web
patch-parameter - Jenkins Plugins
Defines a new parameter type that allows users to submit a patch, to be applied before a build.
Read more >ReviewBot plugin fails after 'apply patch' - Jenkins Jira
I have setup the reviewBot plugin in Jenkins to get the patch from RB. The Jenkins - RB connection works fine. The patch...
Read more >[JENKINS-70162] Aborting patch sets with same topic doesn't ...
Using the "Abort patch sets with same topic" option in the 2.37.0 no longer aborts the previously triggered builds. I can see the...
Read more >Job status not updated in web UI during build - Jenkins Jira
Job status is not updated in the web browser during build. The progress bar appears and the dot starts blinking, but they never...
Read more >[JENKINS-31487] Job status not updated in web UI during build
There were two issues preventing the build history from updating properly: 1) The next build number being fetched wasn't taking into account running...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Updating to patch-package@beta should fix the problem if it’s git related, since we no longer use git. You might need to recreate your patch files. I’m working on backwards compatibility or at least an upgrade path.
On Thu, 17 Jan 2019, 18:59 Patrick Cooney, notifications@github.com wrote:
Forgot to update here, but I used the description here to set it up: https://www.npmjs.com/package/patch-package And
prepare
failed for me whereaspostinstall
worked.Perhaps the npmjs page should be updated?