You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
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
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