Job-DSL traits configuration is needed for "scan by webhook" trigger in jenkins. We are using bitbucket here.
Currently we have periodic scan and we want to use the "scan by webhook" trigger function. Below is the periodic trigger syntax:
And below is the syntax we used for the scan by webhook function but it does not work.
Is it a plugin compatibility issue or something wrong with the syntax?
Thanks in advance!