Hi,

      I am getting the warning:

      Warning: (xxxxxxxxxxx.groovy, line NNN) triggers is deprecated

      that exists as an UNSTABLE build,

       

      whereas I am using the new syntax for pipelineJob creation:

       

        properties {
              disableConcurrentBuilds()
              if(params.triggers != null && params.triggers.cron != null) {
                  triggers {
                    pipelineTriggers {
                      triggers {
                          cron {
                              spec(params.triggers.cron)
                          }
                      }
                   }
                 }
              }
      

      regards,

       

       

       

          [JENKINS-63119] triggers is deprecated -> UNSTABLE build

          Basile Chandesris created issue -
          Basile Chandesris made changes -
          Link New: This issue relates to JENKINS-61463 [ JENKINS-61463 ]
          Basile Chandesris made changes -
          Labels New: cron job-dsl-plugin pipelineJob properties unstable
          Basile Chandesris made changes -
          Description Original: Hi,

          I am getting the warning:

          {color:#ff8b00}Warning: (xxxxxxxxxxx.groovy, line NNN) triggers is deprecated{color}

          that exist as an {color:#0747a6}UNSTABLE{color} build,

           

          whereas I am using the new syntax for pipelineJob creation:

           
          {code:java}
            properties {
                  disableConcurrentBuilds()
                  if(params.triggers != null && params.triggers.cron != null) {
                      triggers {
                        pipelineTriggers {
                          triggers {
                              cron {
                                  spec(params.triggers.cron)
                              }
                          }
                       }
                     }
                  }
          {code}
          regards,

           

           

           
          New: Hi,

          I am getting the warning:

          {color:#ff8b00}Warning: (xxxxxxxxxxx.groovy, line NNN) triggers is deprecated{color}

          that exists as an {color:#0747a6}UNSTABLE{color} build,

           

          whereas I am using the new syntax for pipelineJob creation:

           
          {code:java}
            properties {
                  disableConcurrentBuilds()
                  if(params.triggers != null && params.triggers.cron != null) {
                      triggers {
                        pipelineTriggers {
                          triggers {
                              cron {
                                  spec(params.triggers.cron)
                              }
                          }
                       }
                     }
                  }
          {code}
          regards,

           

           

           
          Daniel Spilker made changes -
          Assignee Original: Daniel Spilker [ daspilker ] New: Basile Chandesris [ based3 ]
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]

            based3 Basile Chandesris
            based3 Basile Chandesris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: