Latest version of copyartifact-plugin doesn't add specific method to DSL

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Blocker
    • Component/s: copyartifact-plugin
    • None
    • Environment:
      copyartifact-plugin: 770.va_6c69e063442
      jenkins: 2.504.1

      After upgrading plugin to latest version jobs using copyArtifact fails with:

      java.lang.NoSuchMethodError: No such DSL method 'specific' found among steps [ansiColor, archive

      Job definition to reproduce:

      pipeline {
          agent {
              kubernetes {
                  inheritFrom 'node20 allure'
                  defaultContainer 'nodejs'
              }
          }
          stages {
              stage('Main') {
                  steps {
                      copyArtifacts(projectName: 'Tests/postman', selector: specific("171"));
                  }
              }
          }
      }
      

        1. plugins.txt
          2 kB
          Mark Waite
        2. run-jenkins.sh
          0.9 kB
          Mark Waite

            Assignee:
            Unassigned
            Reporter:
            Grzegorz Dziegielewski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: