title: Jenkins Job DSL trigger is deprecated
body: <p>I am using the Job DSL Jenkins plugin, and I have got a problem regarding the trigger. It is deprecated and when I update the code, then the deprecation warning is still shown.</p>
  <p>Here the code before:</p>
  <pre><code>protected def job
   void nightly(String schedule='H 0 * * *') {
          job.triggers {
              cron(schedule)
          }
      }
  </code></pre>
  <p>Then the update according to: <a href="https://github.com/jenkinsci/job-dsl-plugin/wiki/Migration" rel="nofollow noreferrer">https://github.com/jenkinsci/job-dsl-plugin/wiki/Migration</a></p>
  <pre><code>void nightly(String schedule='H 0 * * *') {
          properties {
              pipelineTriggers {
                  job.triggers {
                      cron(schedule)
                  }
              }
          }
      }
  </code></pre>
  <p>There is still a warning: Warning: <code>(JobBuilder.groovy, line 100) triggers is deprecated</code></p>
  <p>What am I doing wrong? Is the properties keyword wrong or should it be job.properties?</p>
  <p>thanks in advance</p>