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,220 points
4,156 views

1 answer to this question.

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
• 7,060 points

Related Questions In Jenkins

+1 vote
1 answer

Error: Unable to access jarfile agent.jar

Hello@akhtar, Whenever we try to connect windows system ...READ MORE

answered May 29, 2020 in Jenkins by MD
• 95,460 points
12,661 views
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
• 7,340 points
968 views
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
• 7,340 points
1,935 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,940 views
+2 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, 2019 in Jenkins by anonymous
61,767 views
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
• 7,060 points
3,436 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP