Hi,
Long story as short as I can make it, I've implemented security on my CCNet
server and it is working fine. However, I have some powershell scripts
that I run, for example, to archive a build out of the way and then kick
off a new build process. I used to be able to launch builds via these
scripts as follows (for any Powershell fans):
url = "<MyProjectDashboardHere>/ViewProjectReport.aspx"
$ie = New-Object -com internetexplorer.application;
$ie.visible = $false;
$ie.navigate($url);
while ($ie.Busy -eq $true)
{
Start-Sleep -Milliseconds 1000;
}
$ie.Document.getElementById("ForceBuild").Click();
while ($ie.Busy -eq $true)
{
Start-Sleep -Milliseconds 1000;
}
$ie.quit()
However, obviously with security enabled that no longer works. So my
question, is there a way to include the user and password on the URL for
the project dashboard? If not, I'm guessing I can work out the steps to
login first via Powershell, but if it could be passed on the URL, it'd save
a lot of trial and error. Thanks very much in advance.
--
---
You received this message because you are subscribed to the Google Groups
"ccnet-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.