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  "
}

*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.*


On 30 December 2016 at 10:05, Kevin Yu <samsun...@gmail.com> wrote:

> [image: Boxbe] <https://www.boxbe.com/overview> This message is eligible
> for Automatic Cleanup! (samsun...@gmail.com) Add cleanup rule
> <https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3DKAyukmnlMeQkEvSToqfqmtXOUE5UP%252Fke4tPPmf05Imc%253D%26token%3DnB0q9nZ6L2kNY%252FGuVGXRCLckLesFHSwTcN4vIHnZ4mKjwT2gGvuMpVYlLUxBrMUzGPI7UABX4Zmy8SrE6xfXHeeFAcI5MmBxeqvEsgAxI8A4ffVInYye7SqWhZO%252FHworpGW1oGc9ks4%253D&tc_serial=28223880842&tc_rand=1168422724&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001>
> | More info
> <http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=28223880842&tc_rand=1168422724&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001>
>
> You should be able to change it in Manage Jenkins from Jenkins GUI
>
> On Wednesday, December 28, 2016 at 12:14:08 PM UTC-8, Venkat S wrote:
>>
>> Hi All,
>>
>> Simple question: How to change the jenkins home directory location? By
>> default it points to /var/lib/jenkins whereas I want it to point to
>> /mnt/home/jenkins. I have changed my $JENKINS_HOME to /mnt/home/jenkins but
>> it doesn't help me.
>>
>> I am getting jenkins Ui problem. see below error.  If i leave same
>> /var/lib/jenkins/ it's working fine.
>> HTTP ERROR: 503
>>
>> Problem accessing /. Reason:
>>
>>     Service Unavailable
>>
>> ------------------------------
>> *Powered by Jetty://*
>>
>> On 8 December 2016 at 11:04, Venkat S <seel...@gmail.com> wrote:
>>
>>> Thanks all
>>>
>>> Is this jenkins job DSL and jenkins pipeline is same or different.
>>> Actually i need to create pipeline for creating Docker RPM creation.Let me
>>> know your suggestions.
>>>
>>> Thanks
>>> Venkat
>>>
>>>
>>> On 7 December 2016 at 21:33, xwyxw <daniel.c...@gmail.com> wrote:
>>>
>>>> [image: Boxbe] <https://www.boxbe.com/overview> This message is
>>>> eligible for Automatic Cleanup! (daniel.c...@gmail.com) Add cleanup
>>>> rule
>>>> <https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3Dq%252FKyJjJvfAjT%252F8h69fPe8wDIX8%252Bj0GxwBSwcPLu3Lws%253D%26token%3DRyZplBnholdcci1yoSXC5psPwxJp%252B%252FwX%252FqQlE%252BzcQmqAdJEPnHxgZHb3%252FlUq0gJTN7dOvjO5jKB5mcrXPbt5CUc0r3z63jlA%252F14MuzVlGlnI%252B4f2R4nPUjM8Lsm6v3NjobTjHRKAC3SNQJoGfttnnQ%253D%253D&tc_serial=27908673706&tc_rand=1684326482&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001>
>>>> | More info
>>>> <http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=27908673706&tc_rand=1684326482&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001>
>>>>
>>>> This may enlight your way https://github.com/jenkins
>>>> ci/pipeline-examples/tree/master/pipeline-examples
>>>>
>>>> On Tuesday, December 6, 2016 at 5:47:41 PM UTC+11, Venkat S wrote:
>>>>>
>>>>> I am very new for Jenkins. i am try to create Jenkins pipeline script.
>>>>> Please help me out develop pipeline script. if you have any syntax share
>>>>> with me.
>>>>>
>>>>> Thanks
>>>>> Venkat
>>>>>
>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "Jenkins Users" group.
>>>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>>>> pic/jenkinsci-users/B_2ecad_VkM/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> jenkinsci-use...@googlegroups.com.
>>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>>> gid/jenkinsci-users/e5954dd4-8704-4b59-a3b2-50a624260cf0%
>>>> 40googlegroups.com
>>>> <https://groups.google.com/d/msgid/jenkinsci-users/e5954dd4-8704-4b59-a3b2-50a624260cf0%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 a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jenkinsci-users/B_2ecad_VkM/unsubscribe.
> To unsubscribe from this group and all its topics, 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/203d7e86-e9e5-4dfa-bebc-1f0425ea9aa5%40googlegroups.
> com
> <https://groups.google.com/d/msgid/jenkinsci-users/203d7e86-e9e5-4dfa-bebc-1f0425ea9aa5%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 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/CAA1jVrbXmZuDAwCPVyDmyaQX8SKot62L99LqBJuSYE0G9x93Kg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to