Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XLR Bamboo plugins #14

Open
rbhusal opened this issue Jun 30, 2020 · 2 comments
Open

XLR Bamboo plugins #14

rbhusal opened this issue Jun 30, 2020 · 2 comments

Comments

@rbhusal
Copy link

rbhusal commented Jun 30, 2020

XLR Bamboo - Run works as expected.
Q. How can we pass the build number to other phase? Other phase - > create release or deployment phase.

XLR Bamboo - Create Release:
Q. I could not create release in incremental order. For example release-1 to release-2.
Q. Now I on different environment. I am seeing following error.
Executing CreateRelease.py

Executing getProjectId() with projectName XLR-Test

Exception during execution: com.xhaus.jyson.JSONDecodeError: com.xhaus.jyson.JSONDecodeError: Unable to decode ' at line number 44

XLR Bamboo - Deployment
Q. I was not able to pass bamboo build number. I had to manually update on the phase.
Q. I was not able to deploy to target using incremental order?

@droberts2013
Copy link
Contributor

Hi rbusal,
To pass the build number to another phase, you can use a text variable. Just type, for example, ${bambooBuildNumber} in the output property labelled Build Number. You'll need to press "Create" on the dropdown if the variable does not already exist. Then you can use the variable in subsequent tasks. See https://docs.xebialabs.com/v.10.2/release/concept/variables-in-xl-release/ for some documentation on variables.

@droberts2013
Copy link
Contributor

For the JSON decode error -- I believe I've seen that before when a request times out. A more informative error would be helpful here.

For incremental order for releases, we will have to look further. Perhaps Bamboo supports a flag on the API call for that and we could easily add that option if it's available.

-- Dave.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants