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

ansible plugin - importTowerLogs

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Since ansible plugin was upgraded we are getting the following issue:

       
      [Bitbucket] Notifying commit build result
      [Bitbucket] Build result notified
      ERROR: (vantage_connect.groovy, line 160) No signature of method: javaposse.jobdsl.plugin.structs.DescribableContext.importTowerLogs() is applicable for argument types: (java.lang.String) values: [full]
      Finished: FAILURE
       

      This is our groovy file:

       
      ansibleTower {
      towerServer(cdlTowerServer)
      jobTemplate(cfg.TemplateName)
      jobType('run')
      extraVars("env: $envName \nrelease: ${cfg.release}\ndbname: ${cfg.dbname}\ndbname_dvan: ${cfg.dbname_dvan}\ndbname_19c: ${cfg.dbname_19c}\ndbserver: ${cfg.dbserver}\ndbserver_dvan: ${cfg.dbserver_dvan}\ndbserver_19c: ${cfg.dbserver_19c}\nstatic_folder: ${cfg.static_folder}\nvantageversion: ${cfg.vantageversion}\ncyberarpswd: ${cfg.cyberarpswd}\ncyberarpswd_dvan: ${cfg.cyberarpswd_dvan}\ncyberarpswd_19c: ${cfg.cyberarpswd_19c}\nadminmigration: ${cfg.adminmigration}\nopsmigration: ${cfg.opsmigration}\nadminhosturl: ${cfg.adminhosturl}\nopshosturl: ${cfg.opshosturl}\nhwsebuildtimehost: ${cfg.hwsebuildtimehost}\nhwseopshost: ${cfg.hwseopshost}\nbuild_num: \$VERSION")
      jobTags('')
      // if ((envName == 'DIT2') || (envName == 'DIT1'))

      { // skipJobTags('19c, process19c') // }

      if ((envName == 'DIT2') || (envName == 'DIT1') || (envName == 'DIT4') || (envName == 'DIT3')) {
      skipJobTags('appdvan, processdvan, 19c, process19c')
      }
      limit(cfg.limit)
      inventory('')
      credential(credentials)
      verbose(true)
      importTowerLogs('full')
      removeColor(false)
      templateType('job')
      importWorkflowChildLogs(true)
      }

        Attachments

          Activity

          joserenatoflores Jose Flores created issue -
          joserenatoflores Jose Flores made changes -
          Field Original Value New Value
          Attachment vantage_connect.groovy [ 52178 ]

            People

            Assignee:
            sirot Jean-Christophe Sirot
            Reporter:
            joserenatoflores Jose Flores
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: