Reputation: 370
I am using shell script to create a build but that falls outside of the Jenkins Directory and so I am unable to add it as Artifact. Thank you.
Upvotes: 4
Views: 6682
Reputation: 32320
You can just copy the .ipa file to jenkins workspace using shell command and thereby you can add the file as Artifact
1.Add a build step to execute the shell command
2.Enter the shell command to copy the file from outside to Jenkins workspace
Here $WORKSPACE is Predefined environment variable of JENKINS which has the path of jenkins workspace and $PathToIpa is the variable created by you which should have the path of the ipa file
4.In the files to archive you can give name of the file or else you can do wild card selection also.
Hope this helps
Upvotes: 3