trigger

trigger

poll SCM

properties([
  // every 6 hours
  pipelineTriggers([
    pollSCM( ignorePostCommitHooks: true, scmpoll_spec: 'H H/6 * * *' )
  ])
])
properties([
  pipelineTriggers([
    [ $class: "SCMTrigger", scmpoll_spec: 'H/5 * * * *' ],
  ])
])
  • declarative:

triggered by

  • get build cause

    • console output

  • get user id if triggered by manually

    • or

  • get causedby

  • gitlab

libs

GerritCause

Last updated

Was this helpful?