nci icon indicating copy to clipboard operation
nci copied to clipboard

Added 'buildScmUpdated' event

Open CheapDevotion opened this issue 3 years ago • 1 comments

While developing plugins for node-ci, I needed the ability to edit build files after they were checked out, but before the steps were run. To address this, I added a 'buildScmUpdated' event that is called right after a scm update is performed.

CheapDevotion avatar Mar 02 '21 15:03 CheapDevotion

Hey there! Sorry for the late reply. The event itself looks good :+1: But I think it would be better to emit it from _emitBuildUpdate function (which is called from _updateBuild ). Could you also add some tests? (you might take a look at test/distributor/buildEvents.js)

okv avatar Mar 06 '21 11:03 okv