Hello everyone, I'm currently setting everything up for my iOS projects. The following tools and their configurations are important to keep in mind.
Gitlab: uses webhooks to trigger builds on every push. Fastlane: is called in the jenkins job. It will bump the version of the ios project (important for testflight) and makes a change to the CHANGELOG.md. It then commits and pushes those changes to the repo. Problem: When I push a change to my gitlab repo the iOS job inside jenkins is called. This then executes fastlane, which will make changes and push those. This will cause an infinite loop because jenkins will start building again which will cause a push which will cause a build etc... Solution 1: What I want to do is exclude a user from triggering a build. I have a user "jenkins" which pushes the changes that fastlane makes. I want to exclude this user "jenkins" from triggering a build. I've tried adding git>exlude user <https://lh3.googleusercontent.com/-zol9GlqFkHk/WFrreRpnKYI/AAAAAAAAAKc/MYw6clujorI8fcEJAj_hS7xY9qXmSo_oACLcB/s1600/Screen%2BShot%2B2016-12-21%2Bat%2B15.34.28.png> But this only seems to work when you use polling and I'm using webhooks. Is there a solution or alternative for this? Solution 2: I installed the ci skip plugin. I add this to the commit in fastlane and it wont build again. However it will start a new build obtain the commit notice that [ci skip] is pressent in the commit message and abort the build. I DONT WANT THIS. I don't want it to start building and then abort the build. It must notice this before even starting the job I don't want a job the get started all together. Again is there a solution for this? I hope someone can help me with this either solution would work for me. But I prefer solution 1 -- 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/c8c0f257-76ac-48e8-912c-bf6066c88cd2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.