I'm having issue with publishing SBT project on Jenkins. For same configuration, it works on my local machine.
I have core
SBT project (that is published with publish-local
and then used in another project (notification service
) as dependency. It worked all fine on Jenkins until few days and nothing changed in any build files but it started to fail, which is really strange.
When we build SBT for core project on Jenkins, it succeeds and all files are present in ~/.ivy2/local/<organisation>/<core-project>_2.12/1.0-SNAPSHOT/
.
But, when notification project builds, it shows
==== local: tried
==== public: tried
==== MQTT Repository: tried
==== Releases resolver: tried
==== Snapshots resolver: tried
Of course, it should resolve it from first (local). Can you please provide some help. It should not be issue with cache, since it is local dependency. Also, we tried to remove local ivy folder completely, but no luck again. I googled everything on the topic, but no solution :(
Any thoughts on this?
Thanks