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

Allow to specify name (label) for rtGradleRun() step

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • artifactory-plugin
    • None

      Allow to specify name (label) for rtGradleRun()

      You can label a shell script with `sh label: xxx`

      But for the artifactory plugin - `rtGradleRun(xxx)` steps all display as the same "run Artifactory gradle" - regardless what gradle tasks they run etc

      If you have a lot of rtGradleRun steps - it is unclear in jenkins (Blue Ocean view) which steps are which.

      I think the text for this label comes from here:

      https://github.com/jenkinsci/artifactory-plugin/blob/73be393da5913343dd55e0ca5b09cab864930abb/src/main/java/org/jfrog/hudson/pipeline/declarative/steps/gradle/GradleStep.java#L215

      It would be great if the rtGradleRun() step had a parameter to override this label.

      (Or this there already some other way to do this?){}

            eyalbe Eyal Ben Moshe
            rossens Steve
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: