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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Blocker Blocker
    • copyartifact-plugin
    • None
    • 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

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

              Created:
              Updated:
              Resolved: