Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
How to load .EXE/JARs into ProGet With Upack
-
I am attempting to load build artifacts that are create with Bamboo. In this particular case, I am taking an setup.exe file and trying to upload it into ProGet. Here's what I did:
-
I create a simple upack.json file, which contained only the name and version of the file
-
I entered the upack command as follows:
upack C:\location_of_upack_json_file C:\my_setup.exe --targetDirectory=C:\mytargetDir\build_artifacts
Nothing worked. Here are some of the things that happened:
- FileNotFound exception for the path of the setup.exe file
- Permission error exceptions (even when I executed up upack with admin privileges).
So my question is this. What is the exact syntax that I need to use upack to upload and download my build artifacts. The ProGet documentation is not exactly concise on this issue. Please advise.
Product: ProGet
Version: 4.7.12
-
-
Hello Charles,
upack pack
expects a directory, not an individual file, so the command should be:upack pack C:\location_of_upack_json_file C:\directory_containing_my_setup_exe --targetDirectory=C:\mytargetDir\build_artifacts