Hello

I am building a pipeline that is supposed to detect change based on push to 
feature branch.
For example: I branch off master, call it myBranch, I want to start the 
build when code is pushed to myBranch.
What is the best way to do this without explicitly providing the branch 
name?

Second question is how to run a command inside a subdirectory.
For example part of the build is to copy a puppet module called testModule 
to a server. Inside testModule is another dir called manifests as per 
normal structure of a puppet module which holds the .pp manifest files.
I want to run "puppet parser validate" on all files inside 
testModule/manifests dir.

There are 2 possible actions for this scenario:
a. a new module is pushed to feature breanch
b. an update is done to an existing module

In both cases we want to run "puppet parser validate" on all files in 
manifests subdirectory.

Thanks
John

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to