how i lift artifacts teamcity?


i lift artifacts teamcity.



i've perplexing c# htmlagilitypack goto website latest chronicle the artifacts. i'm now stranded during login, i cruise i only need eventuality event cookies out.



am i going right direction, anyone else attempted this?



i comprehend pulling files out build scripts easy nonetheless i'd minimize changes ant,nant files given i'm looking during scaling 100 apps.



edit: doubt looks aspiring



edit: works now, i only need formula parse it



webclient ww = new webclient();
ww.credentials = credentialcache.defaultcredentials;
ww.downloadstring("http://yourteamcity.com/login.html");
ww.headers.add("cookie",ww.responseheaders["set-cookie"]);

namevaluecollection post = new namevaluecollection();
post.add("username", "name");
post.add("remember","true");
post.add("submitlogin", "login");
post.add("publickey","long thing prevent fiddler");
post.add("encryptedpassword","not giving this");
post.add("_", "");
byte[] values = ww.uploadvalues("http://yourteamcity.com/loginsubmit.html", "post",post);
string s = ww.downloadstring("http://yourteamcity.com/overview.html");


Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?