Comments (6)
From a quick look, the variable should come from env var AUTH_SERVER
.
Can you verify this is set?
from drone-tree-config.
I guess if I select a certain SCM provider then there should be some default value for it. It would be strange to provide GitHub\BitBucket endpoint manually. I will check later if providing value for this variable fixes the problem with the connection.
from drone-tree-config.
Im not sure how bitbucket works. Github works with the token on its on, since its the default method (and how we use it)
Let me now if the bugfix works (docker image bitsbeats/drone-tree-config:issue10), afterwards i can create a new release.
from drone-tree-config.
Update, the Variable is now called BITBUCKET_AUTH_SERVER
from drone-tree-config.
I've managed to configure the plugin by setting these environment variables in my docker-compose config:
-
- SERVER=https://api.bitbucket.org
-
- BITBUCKET_AUTH_SERVER=https://bitbucket.org
I think there should be separate variables like BITBUCKET_API_SERVER and BITBUCKET_AUTH_SERVER with proper default values to avoid confusion. Currently, it is not clear what values need to be set.
I propose to introduce new variables to specify an SCM explicitly. Then we can customize the selected SCM provider by setting additional params
from drone-tree-config.
Was fixed with a41836b
I updated the docs to make this cleaner.
from drone-tree-config.
Related Issues (20)
- Failed SCM connections should be handled properly HOT 4
- Gitlab support? HOT 4
- v0.3.4 fails to trigger builds on master branch in monorepo HOT 8
- Add support for root folder files changing - trigger multiple pipelines HOT 2
- Git tags / Release support HOT 3
- How to use it on k8s HOT 2
- The plugin omit "..." in commands in steps HOT 2
- Documentation: Timeouts of consideration HOT 1
- Drone rebuilds everything every time HOT 7
- Jsonnet support HOT 6
- Rate limit hit HOT 1
- did not find a .drone.yml HOT 4
- Docker images for ARM
- bitbucket cloud authorization error
- BitBucker Server(previously known as Stash) support?
- Add GitLab self-hosted support? HOT 1
- Wait the end of all pipelines? HOT 7
- Gitea support? HOT 7
- Multiple commits HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drone-tree-config.