we have nexus server running on host xx.xx.xx.xx port 8081
When I tried to publish artifact to nexus from jenkins
I got this error.
[error] (*:publish) java.io.IOException: PUT operation to URL http://xx.xx.xx.xx:8081/nexus/content/repositories/appName/dev-releases/app/app-framework_2.11/0.8/app-framework_2.11-0.8-javadoc.jar failed with status code 404: Not Found
[error] Total time: 10 s, completed Oct 15, 2020 4:37:06 AM
Build step ‘Build using sbt’ changed build result to FAILURE
Build step ‘Build using sbt’ marked build as failure
Later I figured out that there is no hosted repository called appName and subsequent folders, which I was trying to publish
Can you please suggest how can I fix this issue.
I’m new to nexus.
Thanks for the help.