Merge pull request #65 from rtyler/newjob-10

Forbid the use of the Classic Jenkins Job creation UI
This commit is contained in:
R. Tyler Croy 2017-12-12 16:00:59 -08:00 committed by GitHub
commit 4d76b976e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,12 @@ server {
return 301 /blue/pipelines;
}
# Only allow the usage of the Blue Ocean Pipeline creation flow.
# https://github.com/CodeValet/codevalet/issues/10
location = /newJob {
return 301 /blue/organizations/jenkins/create-pipeline;
}
location / {
proxy_redirect off;
proxy_set_header Host $http_host;