ENH: allow for https submission if ctest is built with a curl that supports it
This commit is contained in:
parent
d96e7e0e5a
commit
0a65ee8d95
|
@ -1010,14 +1010,15 @@ int cmCTestSubmitHandler::ProcessHandler()
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ( dropMethod == "http" )
|
else if ( dropMethod == "http" || dropMethod == "https" )
|
||||||
{
|
{
|
||||||
|
std::string url = dropMethod;
|
||||||
|
url += "://";
|
||||||
ofs << "Using drop method: HTTP" << std::endl;
|
ofs << "Using drop method: HTTP" << std::endl;
|
||||||
cmCTestLog(this->CTest, HANDLER_OUTPUT, " Using HTTP submit method"
|
cmCTestLog(this->CTest, HANDLER_OUTPUT, " Using HTTP submit method"
|
||||||
<< std::endl
|
<< std::endl
|
||||||
<< " Drop site: http://");
|
<< " Drop site:" << url);
|
||||||
std::string url = "http://";
|
if ( this->CTest->GetCTestConfiguration("DropSiteUser").size() > 0 )
|
||||||
if ( this->CTest->GetCTestConfiguration("DropSiteUser").size() > 0 )
|
|
||||||
{
|
{
|
||||||
url += this->CTest->GetCTestConfiguration("DropSiteUser");
|
url += this->CTest->GetCTestConfiguration("DropSiteUser");
|
||||||
cmCTestLog(this->CTest, HANDLER_OUTPUT,
|
cmCTestLog(this->CTest, HANDLER_OUTPUT,
|
||||||
|
|
Loading…
Reference in New Issue