Re: "Build whenever a SNAPSHOT dependency is built" with "Bitbucket Team/Project"

2018-01-12 Thread 'Richard Hierlmeier' via Jenkins Users
Hi Stephen, it works now, thank you for your help. Am Dienstag, 9. Januar 2018 18:29:03 UTC+1 schrieb Stephen Connolly: > > NOOO > > you probably want more like > > pipeline { > agent { > node { > label 'maven' > } > } > triggers { > upstream(upstreamProjects:

Re: "Build whenever a SNAPSHOT dependency is built" with "Bitbucket Team/Project"

2018-01-09 Thread Stephen Connolly
NOOO you probably want more like pipeline { agent { node { label 'maven' } } triggers { upstream(upstreamProjects: 'Nightly Build Trigger', threshold: hudson.model.Result.SUCCESS) snapshotDependencies() } stages { stage('Build') {

Re: "Build whenever a SNAPSHOT dependency is built" with "Bitbucket Team/Project"

2018-01-09 Thread 'Richard Hierlmeier' via Jenkins Users
Hi Stephen, thank your for this hint. Here is the complete example for the Jenkins file: #!groovy pipeline { agent any stages { stage('Build') { steps { script { properties([pipelineTriggers([snapshotDependencies()])]) } withMaven(

Re: "Build whenever a SNAPSHOT dependency is built" with "Bitbucket Team/Project"

2018-01-09 Thread 'Richard Hierlmeier' via Jenkins Users
Hi Stephen, do you have an example for me how to define such a trigger? Thank you Richard Am Dienstag, 9. Januar 2018 08:16:06 UTC+1 schrieb Richard Hierlmeier: > > > I tried to setup a bunch of maven jobs as "Bitbucket Team/Project". In the > section "Scan Organization Folder

Re: "Build whenever a SNAPSHOT dependency is built" with "Bitbucket Team/Project"

2018-01-08 Thread Stephen Connolly
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

"Build whenever a SNAPSHOT dependency is built" with "Bitbucket Team/Project"

2018-01-08 Thread 'Richard Hierlmeier' via Jenkins Users
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