java - use specific maven profile to deploy a feature branch using jenkins -


is possible use specific maven profiles when running tests/deploying feature branch using jenkin , maven.

we have team of developers using feature branches. have our own maven profiles , associated uat deployment environments.

how can set jenkins deploy, example, branches :

feature/developer1-new-button feature/developer1-replace-payment 

using maven profile "developer1"

i havent used jenkins believe bamboo quite similar. in bamboo can create several plans can triggered changes on repository , can specify branch name pattern you'll accept start build. example can make 3 similar plans triggered changes on repository , 1 branches start feature/* other branches start bugfix/* , other development. since plans different can write tasks execute goals profile. might have pushed branch feature/deve... you'll start build feature/* , there might configure goal : clean deploy/test -p developer1


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -