I want to deploy a folder created by package stage from gitlab to a remote server. I have compiled, packaged and created the connection successfully with the target host but cannot find the artifact folder. As an artifact folder path I have chosen the one from job logs which says:
Building jar: /builds/taulantmehmeti91/myproject/build/ , so I assume /builds/taulantmehmeti91/myproject/build/ is the build folder and I’m using it as:
scp -P 4444 -o StrictHostKeyChecking=no -r /builds/taulantmehmeti91/myproject/build firstname.lastname@example.org:/home/taulant but getting the no such file or directory error for the /builds/taulantmehmeti91/myproject/build/ path
Is there anyway to specify the path to the package stage then access it at the deploy stage or is there any other way to access this path?