mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 04:34:38 +02:00
differentiate dev grid and live deploy cURLs
This commit is contained in:
parent
ac9f4d4c30
commit
177ddd889d
1 changed files with 8 additions and 1 deletions
|
@ -62,7 +62,7 @@ def hifiJob(String targetName, Boolean deploy) {
|
|||
}
|
||||
EscalateStatus true
|
||||
RunIfJobSuccessful true
|
||||
script "curl -d action=deploy-dev -d role=highfidelity_dev-grid -d \"revision=${targetName}\" https://${ARTIFACT_DESTINATION}"
|
||||
script "curl -d 'action=deploy&role=highfidelity-live&revision=${targetName}' https://${ARTIFACT_DESTINATION}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -130,4 +130,11 @@ parameterizedJob.with {
|
|||
node / 'wipeOutWorkspace' << true
|
||||
}
|
||||
}
|
||||
configure { project ->
|
||||
project / 'publishers' / 'hudson.plugins.postbuildtask.PostbuildTask' / 'tasks' / 'hudson.plugins.postbuildtask.TaskProperties' {
|
||||
script 'curl -d action=hifidevgrid -d "hostname=$HOSTNAME" ' +
|
||||
'-d "github_user=$GITHUB_USER" -d "build_branch=$GIT_BRANCH" ' +
|
||||
"-d \"revision=\$TARGET\" https://${ARTIFACT_DESTINATION}"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue