i think you should invoke project.save() method
On Friday, November 9, 2012 11:43:01 AM UTC+2, wolfgang wrote: > > Hi! > > I'm programmatically adding a Publisher in my plugin. The > ProjectAction is working correctly, but the UI isn't showing until I > restart Jenkins? > If I enable it manually, the UI is shown. > > Can I somehow activate the UI programmatically? Or is there a correct > way to do it? > > Thanks. > > Christian Wolfgang >