On Tue 9 Jan 2018 at 07:16, 'Richard Hierlmeier' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote:
> > I tried to setup a bunch of maven jobs as "Bitbucket Team/Project". In the > section "Scan Organization Folder Triggers" I selected the option "Build > whenever a SNAPSHOT dependency is built". > In the Bitbucket project I have two GIT repos. One for module A and one > for module B. > Module B has a Maven snapshot dependency to module A. > Bot repos have the following Jenkins file: > > pipeline { > agent { > node { > label 'maven' > } > } > triggers { > upstream(upstreamProjects: 'Nightly Build Trigger', > threshold: hudson.model.Result.SUCCESS) > You need to configure a trigger here to have that take effect IIUC > > } > stages { > stage('Build') { > steps { > withMaven( > mavenLocalRepo: '.repository' > ) { > bat "mvn clean deploy" > } > } > } > } > } > > However it seems that the "Build whenever a SNAPSHOT dependency is built" > option has no effect. > If module A is built the built for module B is not triggered. > If in "View configuration" of the build job of a branch the option "Build > whenever a SNAPSHOT dependency is built" is not selected. > > Is this options siliently ingored by "Bitbucket Team/Project"? > > Environment: > > Jenkins 2.73.2 > Jenkins Maven Plugin 3.0.7 > > > Richard > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/9f178deb-6157-47ee-85b3-88715bb5404b%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/9f178deb-6157-47ee-85b3-88715bb5404b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Sent from my phone -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMz5QSkXw1sBD0YmrQ23zNG-FxikFiQn9x4VKecpv6CdoA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.