Hi all, I'm new to jenkins and I've rather a complex setup. I did it via pipe and diffrent stages, but there are things not yet clear to me. Overall my setup is this
- push the code to git - jenkins automatically pull the code (there's a webhook for that) - copy env files (i'm usin python and django) - run docker-compose to spin posgres and other services - run the test - take down the compose Now, I've diffrent branches in the git, namely develop, master, feature/*, hotfix/* and I would like to have rather different logic for each branch, how should I do that? I saw that the SCM checkout can specify branch, but how does it work? if I pull from master and develop, will jenkins runt he pipe twice? or what? Othe questions that I've: - Is jenkins/SCM plugin able to run the pipe only if there are new commits? - is it possile to always run a stage? I want always to take down the docker-compose containers even if other stage fails. - is there a place with good examples of how people use jenkins? i found the documentation ragther limited, I would prefere to see how people use jenkins in practice, so I can learn from that. -- 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/d4559d54-4c99-4f3b-bc33-a9bfcaca2467%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.