Continue build even artifact dependency is failed to resolve

Hi, 

We have a build which has many artifact dependencies. It is okay some of dependencies fail.  But I can see if an artifact dependency failed to resolve,  the build will stop because of jetbrains.buildServer.artifacts.impl.SourcePathAwareResolvingFailedException

 

Can I configure the build like what I handle the error on snapshot dependency, if the artifact dependency is failed to resolve,  I still can continue the build?  

 

0
1 comment

Hi,

I'm afraid that dependencies as of now are mandatory. We have an issue here for it: https://youtrack.jetbrains.com/issue/TW-19132, please watch and vote for it.

In the meantime, as it's explicitly mentioned in the issue, you would need to remove the dependencies that might be optional and add a first build step that runs a script that pulls the artifacts that are available and ignores those that aren't.

0

Please sign in to leave a comment.