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: 'N
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') {
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(
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 Triggers"
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 i
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 Mave