Use CIRCLE_PROJECT_REPONAME to distinguih schedules for different repos.

This commit is contained in:
Tom Wilkie
2016-01-12 21:11:53 +00:00
parent a4c722205c
commit f7f1370372

View File

@@ -138,7 +138,9 @@ func updateScheduler(test string, duration float64) {
func getSchedule(tests []string) ([]string, error) { func getSchedule(tests []string) ([]string, error) {
var ( var (
testRun = "integration-" + os.Getenv("CIRCLE_BUILD_NUM") project = os.Getenv("CIRCLE_PROJECT_REPONAME")
buildNum = os.Getenv("CIRCLE_BUILD_NUM")
testRun = project + "-integration-" + buildNum
shardCount = os.Getenv("CIRCLE_NODE_TOTAL") shardCount = os.Getenv("CIRCLE_NODE_TOTAL")
shardID = os.Getenv("CIRCLE_NODE_INDEX") shardID = os.Getenv("CIRCLE_NODE_INDEX")
requestBody = &bytes.Buffer{} requestBody = &bytes.Buffer{}