Warnings on VSM if pipeline built with incompatible revisions#2136
Warnings on VSM if pipeline built with incompatible revisions#2136jyotisingh merged 1 commit intogocd:masterfrom
Conversation
|
Will this work in the below case: current pipeline is |
e2a1dba to
e49f099
Compare
|
@srinivasupadhya - what's the build cause for P3 here? Did you mean to say that current pipeline was p4? If current pipeline is p3, then the build-cause for p4 will not affect P3 in anyway! |
|
@jyotisingh yes. it wont. but if im not wrong we will show the warning on |
|
if the current pipeline is p3, then g1 will be the only revision for git. P4 being a downstream, will not cause revisions to get added to the scm nodes, ie. git in this case. Thats how it has been all this while and I do not see any of that changed in this PR. |
|
ok. i forgot we populate SCM data only for upstream pipelines. ignore 👍 |
de13ec9 to
fe40fd5
Compare
shocked :) |
|
@maheshp: Adding a little screenshot to this might help everyone get an idea about how it looks. |
|
Also, this is related to #1924. Commenting so that GitHub links the two together. |
|
@FredrikWendt - thought you might be interested in this |
|
YAY! \o/ I assume this only looks at SCM revisions, and not the case where two different run instances of any pipeline? If p1 was run with p0:1 and p2 with p0:2, would p3 be red flagged? |
Yes p3 would be red flagged if p3 is triggered with p1(p0:1) and p2(p0:2) assuming p0:1 and p0:2 SCM revisions differ |
Adding some context about the implementation.
|
* Partial fix for gocd#1924 * VSM for a pipeline shows warning message if built with incompatible revisions * SCM Nodes list MaterialRevisions instead modifications.

Uh oh!
There was an error while loading. Please reload this page.