An artifact in the Jenkins sense is the result of a build - the intended output of the build process.
Here is how, you can archive the artifacts.
Here is how, you can archive the artifacts.
- We have a very simple script in our job, who produces some logs in "logs" directory.
#!/bin/bash mkdir -p ${WORKSPACE}/logs echo "...I AM ALIVE.... You set my heart on fire." echo "Yes. I am definitely alive" > ${WORKSPACE}/logs/abc.txt
- Go to job configuration and add post-build action like below
- On next run of a job, you can see the artifacts given as a link
No comments:
Post a Comment