Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-1367

Allow choosing the Gradle publications during Gradle builds

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: 3.7.1
    • Fix Version/s: 3.8.0
    • Component/s: Gradle
    • Labels:
      None

      Description

      Allow adding Gradle publications in Jenkins pipelines:

      Scripted pipeline:

      rtGradle.publisher.publications.add("publication1").add("publication2")
      

       

      Declarative pipeline:

      rtGradleDeployer (
          id: "GRADLE_DEPLOYER",
          serverId: "SERVER_ID",
          repo: "libs-release-local",
          publications: ["publication1", "publication2"]
      )
      

      Upon choosing publication, the default 'mavenJava' and 'ivyJava' publications will not be added automatically.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yahavi Yahav Itzhak
              Reporter:
              yahavi Yahav Itzhak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: