The Build Triggers:
Dec 09, 2016 1:34:09 AM INFO com.dabsquared.gitlabjenkins.webhook.GitLabWebHook getDynamic
WebHook called with url: /project/jenkins
Dec 09, 2016 1:34:09 AM INFO com.dabsquared.gitlabjenkins.trigger.handler.AbstractWebHookTriggerHandler handle
jenkins triggered for push.
Dec 09, 2016 1:34:09 AM INFO com.dabsquared.gitlabjenkins.webhook.GitLabWebHook getDynamic
WebHook called with url: /project/jenkins
Dec 09, 2016 1:34:09 AM INFO com.dabsquared.gitlabjenkins.trigger.handler.AbstractWebHookTriggerHandler handle
jenkins triggered for push.
Dec 09, 2016 1:34:22 AM INFO com.dabsquared.gitlabjenkins.util.CommitStatusUpdater retrieveGitlabProjectIds
Retrieving gitlab project ids
Dec 09, 2016 1:34:22 AM INFO com.dabsquared.gitlabjenkins.util.CommitStatusUpdater retrieveGitlabProjectIds
Retrieving gitlab project ids
Dec 09, 2016 1:34:22 AM INFO com.dabsquared.gitlabjenkins.util.CommitStatusUpdater retrieveGitlabProjectIds
Retrieving gitlab project ids
Dec 09, 2016 1:34:22 AM INFO com.dabsquared.gitlabjenkins.util.CommitStatusUpdater retrieveGitlabProjectIds
Retrieving gitlab project ids
Dec 09, 2016 1:34:23 AM INFO com.dabsquared.gitlabjenkins.util.CommitStatusUpdater retrieveGitlabProjectIds
Retrieving gitlab project ids
Dec 09, 2016 1:34:24 AM INFO com.dabsquared.gitlabjenkins.util.CommitStatusUpdater retrieveGitlabProjectIds
Retrieving gitlab project ids
Dec 09, 2016 1:34:25 AM INFO com.dabsquared.gitlabjenkins.util.CommitStatusUpdater retrieveGitlabProjectIds
Retrieving gitlab project ids
Dec 09, 2016 1:34:25 AM INFO com.dabsquared.gitlabjenkins.util.CommitStatusUpdater retrieveGitlabProjectIds
Retrieving gitlab project ids
Dec 09, 2016 1:34:26 AM INFO com.dabsquared.gitlabjenkins.util.CommitStatusUpdater retrieveGitlabProjectIds
Retrieving gitlab project ids
Dec 09, 2016 1:34:27 AM INFO org.jenkinsci.plugins.workflow.job.WorkflowRun finish
jenkins #4 completed: SUCCESS
I've configured a pipeline job on jenkins following the instruction for the gitlab-plugin.
I've configured the Build Triggers and git integration:


After I push a new build on GitLab (configured with Jenkins CI integration) Jenkins run the build correctly and after the start of the run If i edit the configuration I get the Build Triggers reset so It will not work for a second push or merge or other operation:

After some testing I discovered where the problem was:
I was reusing a jenkinsfile from a multibranch pipeline that has the property at the start to set the gitlabconnection as explained in the readme of the gitlab plugin and it was resetting my normal pipeline job.
properties([[$class: 'GitLabConnectionProperty', gitLabConnection: '
How did you resolve this problem?
How did you prevent it from resetting?
Most helpful comment
How did you resolve this problem?
How did you prevent it from resetting?