You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "heamnthnhk11 (via GitHub)" <gi...@apache.org> on 2024/09/27 08:31:59 UTC
[I] withMaven: downstreamPipelineTriggerRunListener - Skip triggering downstream pipeline - version is same [maven-mvnd]
heamnthnhk11 opened a new issue, #1153:
URL: https://github.com/apache/maven-mvnd/issues/1153
0
I two repositories Upstream project-A & downstream project-B, B build is triggered when A build is success on Jenkins. If there is a commit on release-Test1 branch on A, it will trigger the job on jenkins job-A due to SCM changes. Once the release-Test1 on A job is done, it will trigger the release-Test1 on B job.
Problem : If make few more commits on release-Test1 on A, it will trigger the A job on Jenkins due to SCM changes, but after A-build success Job-B relase-Test1 is not triggering. It shows the error as follows: [withMaven] downstreamPipelineTriggerRunListener - Skip triggering downstream pipeline B_MAIN-MODULE-BUILD-PIPELINE_seeded ยป release-Test1 as it was already triggered for Maven dependencies: net.mike.slate:Project-A:zip:src:Test1(Test1)
I'm using the following script to trigger downstream jobs:
// Downstream triggers
options:
[
pipelineGraphPublisher
(
includeSnapshotVersions: false,
includeReleaseVersions: true,
includeScopeCompile: true,
includeScopeRuntime: true,
includeScopeProvided: true,
includeScopeTest: false,
lifecycleThreshold: MAVEN_DOWNSTREAM_TRIGGER_LIFECYCLE
triggerWithSameVersion: true
)
]
Even I use lifecycleThreshold as install or deploy, it doesn't work.
I want whenever the release-Test1 on A is triggered and build got success, it has to trigger Test1 on B, even it is the same version release.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org