Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63304

Scan by webhook Job DSL not working

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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!

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            daspilker Daniel Spilker
            Reporter:
            akileshds Akilesh DS
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: