-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins: 2.235.3
Bitbucket: 5.8.2
Job DSL: 1.77
Bitbucket branch source: 2.9.1
Hi Team,
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:
it / 'triggers' << 'com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger'{ spec ' *' interval "60000" }
And below is the syntax we used for the scan by webhook function but it does not work.
traits << 'com.igalg.jenkins.plugins.mswt.trigger.ComputedFolderWebHookTrigger' { token("TEST_HOOK") }
Is it a plugin compatibility issue or something wrong with the syntax?
Thanks in advance!