Peter Kahn
Peter Kahn

Reputation: 13026

Jenkins Git Plugin Fails to StoreAddition Behaviors in job xml?

We see problems with GitPlugin in jenkins. Plugin appears to not write any additional behaviors to job xml and therefore loses those settings upon clone or restart.

Anyone else seeing this?

Here's my Test:

Jenkins: 1.627 git Plugin: 1.19.6

Upvotes: 1

Views: 263

Answers (1)

Damon Barry
Damon Barry

Reputation: 261

1.19.6 sounds like the current version of Git client plugin, not Git plugin (the latter depends on the former). The issue you're describing matches this bug in the Git plugin, which was introduced in 2.4.3 and fixed in 2.4.4. So I'm guessing you're on Git plugin version 2.4.3.

My team was experiencing this same problem (our "Additional behaviours" were disappearing following a reboot). I just upgraded our Git plugin from 2.4.3 to 2.4.4 and the problem appears to be resolved. Now when I add behaviors to a job they are flushed to the config.xml file.

Upvotes: 1

Related Questions