job was aborting if strider.json file could not be retrieved#849
job was aborting if strider.json file could not be retrieved#849knownasilya merged 1 commit intoStrider-CD:masterfrom brandon-bethke-timu:master
Conversation
|
👍 |
|
Interesting... I would love to know reproducible steps for this. We're on 1.7.2 at work, never use |
|
Usually, the contents of the On second thought, I guess most people are using a provider like GitHub, Bitbucket or GitLab, which have special support for retrieving single files through an API before even checking out the project. This is obviously not possible with the basic git provider. |
|
The |
|
Agreed, this should have been the response to begin with. |
Don't fail build if strider.json cannot be fetched (not implemented in provider)
|
ahhh, we've been using |
Today I downloaded strider-cd for the first time and attempting to setup a build using the default runner and basic strider-git plugin. However when testing, the build would always fail immediately and the strider server console would only print:
I traced this to the lib/backchannel.js file and noticed that the else statement on line 85 is returning and preventing the build from running. So being confused why a basic example didn't work and not knowing what to do, I copied the pattern from the if and else if statements directly above, which are also handling errors related to strider.json, and just initialized the config and unset the fromStriderJson flag.
Please review and merge.