feat(circleci): use token from the proxy

This commit is contained in:
Ivan Shmidt
2020-09-04 15:53:40 +02:00
parent 4be7e48f18
commit ecafe1b54d
5 changed files with 60 additions and 35 deletions
+10 -1
View File
@@ -16,7 +16,16 @@ backend:
# See README.md in the proxy-backend plugin for information on the configuration format
proxy:
'/circleci/api': https://circleci.com/api/v1.1
'/circleci/api':
target: https://circleci.com/api/v1.1
changeOrigin: true
pathRewrite:
'^/proxy/circleci/api/': '/'
headers:
Circle-Token:
$secret:
env: CIRCLECI_AUTH_TOKEN
'/jenkins/api':
target: http://localhost:8080
headers: