Skip to content

Commit e49910e

Browse files
authored
Merge pull request #458 from Bishbash777/torch-migration-p2
point to new (temporary?) build server
2 parents 32a61d2 + 83805cb commit e49910e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Torch.API/WebAPI/JenkinsQuery.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Torch.API.WebAPI
1313
{
1414
public class JenkinsQuery
1515
{
16-
private const string BRANCH_QUERY = "https://build.torchapi.net/job/Torch/job/Torch/job/{0}/" + API_PATH;
16+
private const string BRANCH_QUERY = "http://136.243.80.164:2690/job/Torch/job/{0}/" + API_PATH;
1717
private const string ARTIFACT_PATH = "artifact/bin/torch-server.zip";
1818
private const string API_PATH = "api/json";
1919

@@ -33,7 +33,7 @@ public async Task<Job> GetLatestVersion(string branch)
3333
var h = await _client.GetAsync(string.Format(BRANCH_QUERY, branch));
3434
if (!h.IsSuccessStatusCode)
3535
{
36-
Log.Error($"Branch query failed with code {h.StatusCode}");
36+
Log.Error($"'{branch}' Branch query failed with code {h.StatusCode}");
3737
if(h.StatusCode == HttpStatusCode.NotFound)
3838
Log.Error("This likely means you're trying to update a branch that is not public on Jenkins. Sorry :(");
3939
return null;

0 commit comments

Comments
 (0)