Error message artifacts/*.jar doesn’t match anything: even ‘artifacts’ doesn’t exist

0 votes
Can someone explain the concept of artifacts in build process. I have the workspace directory where I check out the code to compile and run my ant scripts etc. At the end, in my case, I get a jar file that's ready to install. Is that considered to be the artifact? Where should I tell my build script to put the jar file?

I'm getting this error:

artifacts/*.jar doesn’t match anything: even ‘artifacts’ doesn’t exist
Aug 7, 2018 in Jenkins by lina
• 8,100 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
Artifacts store any data that is created as the side effect of running the Jenkins build. Each artefact is associated to only one build, but each build can have many artifacts.

A common convention is to put the result of a build into a build, target or bin directory.

The Jenkins archiver can use globs (target/*.jar) to easily pick up the right file even if you have a unique name per build.
answered Aug 7, 2018 by Nilesh
• 6,900 points

Related Questions In Jenkins

0 votes
1 answer

Error while communicating with remote Oracle DB through Jenkins-CI

I was also facing the same problem. ...READ MORE

answered Apr 25, 2018 in Jenkins by shubham
• 6,480 points
0 votes
1 answer

Error while talking to remote Oracle DB using Jenkins-CI

I installed Oracle XE to talk to ...READ MORE

answered May 1, 2018 in Jenkins by shubham
• 6,480 points
0 votes
2 answers
+2 votes
3 answers

Permission denied error while running a simple job in Jenkins

Hey @Hannah, try changing the permissions using ...READ MORE

answered Oct 25, 2018 in Jenkins by krishti
+13 votes
2 answers
0 votes
1 answer
0 votes
5 answers

How to resolve this error “Jenkins Host key verification failed”?

HI Mam, Please check the following solution:: 1. Switch ...READ MORE

answered May 3 in Jenkins by anonymous
0 votes
2 answers

Error - trustAnchors parameter must be non-empty

This fixed the problem for me on ...READ MORE

answered Aug 17, 2018 in Jenkins by Nilesh
• 6,900 points

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.