jenkinsci / jms-messaging-plugin

https://plugins.jenkins.io/jms-messaging
12 stars 37 forks source link

Storing variable is never used, always ends up in default CI_MESSAGE #246

Open michalxo opened 1 year ago

michalxo commented 1 year ago

Jenkins and plugins versions report

Environment ```text Paste the output here ```

What Operating System are you using (both controller, and any agents involved in the problem)?

any agent multiple listening ActiveMQSubscribers, each storing variable into different variable_name

Reproduction steps

ciBuildTrigger {
                    noSquash(true)
                        providers {
                            providerDataEnvelope {
                                providerData {
                                    activeMQSubscriber {
                                        name(Constants.RH_UMB_PROVIDER)
                                        overrides {
                                            topic(STANDALONE_TOPIC_NAME)
                                        }
                                        variable("STANDALONE_BUILD_CI_MESSAGE")
                                    }
                                }
                            }
                            providerDataEnvelope {
                                providerData {
                                    activeMQSubscriber {
                                        name(Constants.RH_UMB_PROVIDER)
                                        overrides {
                                            topic(STANDALONE_LPT_TOPIC_NAME)
                                        }
                                        variable("STANDALONE_LPT_CI_MESSAGE")
                                    }
                                }
                            }
                            providerDataEnvelope {
                                providerData {
                                    activeMQSubscriber {
                                        name(Constants.RH_UMB_PROVIDER)
                                        overrides {
                                            topic(CONTAINER_IMAGE_TOPIC_NAME)
                                        }
                                        checks {
                                        }
                                        variable("IMAGE_CI_MESSAGE")
                                    }
                                }
                            }
                        }
}

Expected Results

Each relevant message from Topic should end up in it's own variable.

Actual Results

All messages end up in default CI_MESSAGE

Anything else?

No response

tlbueno commented 1 year ago

Any updates on this issue or when it expected be worked on?