-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
Add support for Atlasssian Bamboo Build Server #577
Conversation
@krippz this PR has a few merge conflicts and therefore won't build on our CI, could you please rebase against latest version of Cake. |
8aa6204
to
aba1922
Compare
So I've fixed some stuff... :) |
@@ -1,4 +1,4 @@ | |||
using System; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file only has an encoding change, so shouldn't be part of the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry about that, i'll have done some reorganizing. will try and update PR later tonight
Hi @krippz, I've now reviewed and tested this on Bamboo and in short everything seems to work great. As you stated there are some code duplication but I rather see we address that in an later separate refactor PR. Tested both standard build Object graph: {
"IsRunningOnBamboo": true,
"Environment": {
"ShortJobKey": "JOB1",
"ShortJobName": "Default Job",
"ShortPlanKey": "KRIP",
"ShortPlanName": "krippz-bamboo-build",
"Project": {
"PlanKey": "CAKE-KRIP"
},
"Build": {
"Folder": "C:\\build\\CAKE-KRIP-JOB1",
"Number": 1,
"BuildKey": "CAKE-KRIP-JOB1",
"ResultKey": "CAKE-KRIP-JOB1-1",
"ResultsUrl": "https://cakebuild.atlassian.net/builds/browse/CAKE-KRIP-JOB1-1",
"CustomBuild": {
"IsCustomBuild": false,
"RevisonName": ""
}
},
"Repository": {
"Scm": "git",
"Name": "Devlead/Cake",
"Branch": "krippz-bamboo-build",
"Commit": {
"RepositoryRevision": "a7c84e987b721b1832e5b7f8671e32d530639211"
}
}
}
} Also tested custom build with a specific reviosion and it picked up that as webb Object graph; {
"IsRunningOnBamboo": true,
"Environment": {
"ShortJobKey": "JOB1",
"ShortJobName": "Default Job",
"ShortPlanKey": "KRIP",
"ShortPlanName": "krippz-bamboo-build",
"Project": {
"PlanKey": "CAKE-KRIP"
},
"Build": {
"Folder": "C:\\build\\CAKE-KRIP-JOB1",
"Number": 2,
"BuildKey": "CAKE-KRIP-JOB1",
"ResultKey": "CAKE-KRIP-JOB1-2",
"ResultsUrl": "https://cakebuild.atlassian.net/builds/browse/CAKE-KRIP-JOB1-2",
"CustomBuild": {
"IsCustomBuild": true,
"RevisonName": "a7c84e987b721b1832e5b7f8671e32d530639211"
}
},
"Repository": {
"Scm": "git",
"Name": "Devlead/Cake",
"Branch": "krippz-bamboo-build",
"Commit": {
"RepositoryRevision": "a7c84e987b721b1832e5b7f8671e32d530639211"
}
}
}
} So looks good, so would be great if you could
and then I'll do a final review before merging. |
@devlead I did make some changes, I renamed BambooProjectInfo to BambooPlanInfo made more sense in the Bamboo concept. I also moved some stuff from the BambooEnvironmentInfo to BambooPlanInfo, made more sense to group these. |
@krippz are you familiar with how to rebase your branch against the latest in the develop branch? A rebase is the preferred option, rather than merging the changes, as it stops the history of the branches from getting polluted with merge commits, like the one that is currently in this PR. If you aren't familiar with it, don't worry, we can talk you through the process. |
@gep13 rebased :) |
@krippz merged, thanks for your contribution 👍 |
Awesome 👍 |
Adding Atlasssian Bamboo Build Server via BambooProvider, Closes #544