tyler
-
Posts
9 -
Joined
-
Last visited
Posts posted by tyler
-
-
The only thing I can think of is we have 3 build agents and commonly we're doing custom builds for a past revision.
Here's a case I just tried:
- Latest cs is 23277 and Agent 1 is currently building it
- Agent 2 last built 23275
- I Run Customized with 23275 as the revision
- Agent 2 starts the build and updates to 23277, even listing 23277 as the custom revision like in my previous post.Tried it on another plan:
- Latest cs is 23277
- Agent 3 last build 23276
- Run Customized with 23275 as the revision
- Agent 3 picks it up and updates to 23277 instead
Nothing else of much interest. Single stage and job in bamboo. First task is checkout repo. Repo using main branch, no other branches active. Repo is linked across all build plans. Seems to happen on all build agents and plans.
-
Any updates or info on this?
-
Bamboo and the plastic plugin have not been upgraded. Plastic server and clients build agents have both been updated.
There's a relevant conflict evident in the build logs and summary. Note the metadata is correct, but then the build summary lists the wrong custom revision.
Bamboo build metadata:
customRevision 22530
dependenciesDisabled true
ManualBuildTriggerReason.customRevision 22530
Build summary:
Custom variables
Custom revision 22538
Log:
simple 02-Mar-2020 15:23:43 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
simple 02-Mar-2020 15:23:43 Checking out into C:\bamboo-agent-home\xml-data\build-dir\FIR-PKG-JOB1
simple 02-Mar-2020 15:23:43 Updating source code to revision: 22538
simple 02-Mar-2020 15:24:01 Updated source code to revision: 22538
simple 02-Mar-2020 15:24:01 Finished task 'Checkout Default Repository' with result: SuccessAlso taken from earlier in the log is all the variables:
bamboo_repository_revision_number=22538
bamboo_repository_32771_revision_number=22538
bamboo_repository_32771_previous_revision_number=22538
bamboo_planRepository_revision=22538
bamboo_repository_previous_revision_number=22538
bamboo_planRepository_previousRevision=22538
bamboo_planRepository_1_revision=22538
bamboo_repository_32771_name=Firestorm
bamboo_planRepository_1_previousRevision=22538
bamboo_planRepository_branchDisplayName=/main
bamboo_planRepository_1_type=plasticscm
bamboo_customRevision=22530From all of this it looks like a bamboo bug, but I'm 99% sure this used to work and bamboo hasn't been updated while plastic has.
-
-
I'm seeing an issue where when I try and build a specific changeset in bamboo it syncs to the latest changeset instead. This used to work, but I'm guessing it broke sometime after a plastic server update. Is there an updated version of the plugin I can use? Or a fix/workaround? Thanks!
plugin: bamboo-plasticscm-plugin-5.14.1
server: 8.0.16.3816
bamboo: version 6.7.1 build 60705
Bamboo sync to changeset gets latest instead
in Integrations
Posted
Repo setup look fine. I'm doing a manual build with a custom revision set. https://confluence.atlassian.com/bamboo/running-a-plan-build-manually-289276898.html#Runningaplanbuildmanually-Runningacustomizedmanualbuild
Searched around and found a very old log with custom revision working from 2018. So yes, definitely was with a previous version but I can't say which one.