Comments (7)
@philicious Can you help me with this? I can't seem to get it to work.
from concourse-git-bitbucket-pr-resource.
@fewknow
you could either modify the out
script to be more verbose and then build/push/use it from your own registry. (remove -s -fail
from the curl)
OR
run the out
manually after adding some verbosity
cat test/payload| assets/out .
and the payload like
{
"source": {
"bitbucket_type": "cloud",
"base_url": "https://bitbucket.org",
"project": "foo",
"repository": "foobar",
"username": "peter",
"password": "parker",
"git": {
"uri": "[email protected]:foo/foobar.git"
}
},
"params": {
"state": "SUCCESSFUL",
"key": "BLA_3",
"name": "unit test",
"url": "http://whatever.com",
"description": "foobar"
}
}
however you also need to modify in out
pr=`cat pull-request-info`
commit=`echo ${pr} | jq -r '.commit'`
and hardcode the commit hash of the latest commit in PR as that pull-request-info?
file is created by the in
step.
it can be a little cumbersome to debug concourse resources, but when reading the bash scripts and playing around a little, you will work it out. I went the same way when adding Bitbucket Cloud support to this resource
from concourse-git-bitbucket-pr-resource.
Hi Guys, did u resolve this and merged to Master? If not can you please do?
from concourse-git-bitbucket-pr-resource.
@gmadu123 have not fixed issue yet. Was going to test out another resource. https://github.com/mmb/concourse-bitbucket-pullrequest-resource
I would recommend trying this one as well. I will get around to this in the next few weeks.
from concourse-git-bitbucket-pr-resource.
@fewknow if you are using Bitbucket Cloud, the resource you linked wont work for you as its a fork of a resource that is only working with Bitbucket Server. (This repo here is the only one that works with Bitbucket Cloud afaik. At least I contributed that support myself last year as I found no resource that did work with Cloud but I needed that)
from concourse-git-bitbucket-pr-resource.
@philicious Thank you for the update. I was not aware of that and we are using cloud not server. I will look into debugging the issue above ASAP.
from concourse-git-bitbucket-pr-resource.
There's a mismatch in out
params documentation and actual ones:
- key is not mentioned in documentation example
- name is derived from key, so the value from params is ignored
from concourse-git-bitbucket-pr-resource.
Related Issues (20)
- Re-running a Failed Build Job Appends a New Build to PR HOT 1
- (question) Mark PR with "build started" creates a new version of a PR HOT 3
- broken tagging HOT 2
- "url" property not respected anymore HOT 1
- quoting issue breaking the resource HOT 1
- Resource put not working HOT 7
- Builds are running twice HOT 3
- Updating PR description in Bitbucket prompts a new build
- Builds are running twice HOT 2
- branch option may not be working as intented HOT 5
- Returns 404, with correct config HOT 2
- [Question] Rebuild a failed PR HOT 1
- Don't build when certain paths changed HOT 1
- paths parameter not working properly
- Login with OAuth credentials
- Auth with private key or personal access token?
- source.branch HOT 3
- Bitbucket Cloud - Updates to PRs not detected
- Ran into this issue-- when using the sovanyio/concourse-git-bitbucket-pr-resource HOT 1
- Paths configuration value not taken into account with Bitbucket Cloud
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 concourse-git-bitbucket-pr-resource.