Slicer: 2145-support-for-installing-extension-from-file c0fce9cf

Author Committer Branch Timestamp Parent
jcfr jcfr 2145-support-for-installing-extension-from-file 2013-06-16 19:23:46 2145-support-for-installing-extension-from-file 883aa037
Changeset

ENH: Do not default to CDash extension upload if Midas upload failed.

By uploading the extension package on CDash in case the midas one failed
was confusing the user. Indeed, after checking the dashboard, the small
package submission was visible but not associated with a midas url.

This commit return an explicit error message and abort the build process
providing the user with hint on how to resolve the issue.

The message that will be disable will be similar to:

// ------------------
CMake Error at /home/jchris/Projects/Slicer-AHM/Extensions/CMake/SlicerBlockBuildPackageAndUploadExtension.cmake:231 (message):
Upload of [22100-linux-amd64-MyExtension-local0-2013-06-16.tar.gz] failed !

Check that:

(1) you have been granted permission to upload
(2) your email and api key are correct

// ------------------

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22101 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Extensions/CMake/SlicerBlockBuildPackageAndUploadExtension.cmake Diff File