Please don't post to both lists. The development list is for Jenkins core and plugin development, not for help with how to do things.
On Mon, Jan 2, 2017, 20:21 Venkat S <[email protected]> wrote: > I have pipeline script like below > > *My question is when i am build this job. If some thing change in scm in > Stage "B". I need to build this one only other two stages need to skip. How > can skip this stage A & C.* > > stage 'a' > node ('master'){ > > git branch: "${git_branch}", credentialsId: "${credentialsId}", url: > 'http://' > > > sh "${tool 'mvn'}/bin/mvn -f obs-infra/pom.xml clean install > cobertura:cobertura -U -Dmaven.test.skip=false > -Dcobertura.report.format=xml -s " > > > > stage 'B' > > git branch: "${git_branch}", credentialsId: "${credentialsId}", url: > 'https:commons.git' > > sh "${tool 'mvn'}/bin/mvn -f obs-commons/pom.xml clean install > -DskipTests=true -s" > > > stage 'c' > > > git branch: "${git_branch}", credentialsId: "${credentialsId}", url: '' > http://kms.git" > > sh "${tool 'mvn'}/bin/mvn -f obs-kms/pom.xml clean install -U > -Dmaven.test.skip=true " > } > > On 5 December 2016 at 22:53, Venkat S <[email protected]> wrote: > > Hi All > I am very new to Jenkins.please help me out to develop pipeline script. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Developers" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-dev/mUZSm9OF2-g/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > > > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/bf7dcc4b-ae7e-4da2-a77f-3a4ffc919223%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/bf7dcc4b-ae7e-4da2-a77f-3a4ffc919223%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CAA1jVraQ-zhaGt_0qf%3D1PKzdAgQGg-qE3t1nzkFRVvmOR9Rghg%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CAA1jVraQ-zhaGt_0qf%3D1PKzdAgQGg-qE3t1nzkFRVvmOR9Rghg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAPiUgVe_o-v%2BKUj8hq38NM8JitWb6%2B5XOS614mfD2QhQqguxGw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
