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

add support for nicer pipeline syntax with bitbucket alias

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • stashnotifier-plugin
    • None

      Right now we can use "step([$class: 'StashNotifier'])" (which is awesome, thanks for the Pipeline support!), and it would be even cooler to use the syntactic sugar that various steps/plugins support and just say 'notifyStash'.

      As part of this, it would make a lot of sense to also add an alias command of 'notifyBitbucket' as Stash was renamed a bit ago to Bitbucket. This way, it will be less confusing for anyone who started using the service as Bitbucket.

          [JENKINS-39948] add support for nicer pipeline syntax with bitbucket alias

          mcrooney created issue -
          mcrooney made changes -
          Assignee New: Pavel Batanov [ scaytrase ]
          mcrooney made changes -
          Description Original: Right now we can use "step([$class: 'StashNotifier'])" (which is awesome, thanks for the Pipeline support!), and it would be even cooler to use the syntactic sugar that various steps/plugins support and just say 'notifyStash'. As part of this, it would also make a lot of sense to also add an alias command of 'notifyBitbucket' as Stash was renamed a bit ago to Bitbucket so it is a bit confusing for our devs. New: Right now we can use "step([$class: 'StashNotifier'])" (which is awesome, thanks for the Pipeline support!), and it would be even cooler to use the syntactic sugar that various steps/plugins support and just say 'notifyStash'.

          As part of this, it would make a lot of sense to also add an alias command of 'notifyBitbucket' as Stash was renamed a bit ago to Bitbucket so it will be confusing for anyone who started using the service as Bitbucket.
          mcrooney made changes -
          Description Original: Right now we can use "step([$class: 'StashNotifier'])" (which is awesome, thanks for the Pipeline support!), and it would be even cooler to use the syntactic sugar that various steps/plugins support and just say 'notifyStash'.

          As part of this, it would make a lot of sense to also add an alias command of 'notifyBitbucket' as Stash was renamed a bit ago to Bitbucket so it will be confusing for anyone who started using the service as Bitbucket.
          New: Right now we can use "step([$class: 'StashNotifier'])" (which is awesome, thanks for the Pipeline support!), and it would be even cooler to use the syntactic sugar that various steps/plugins support and just say 'notifyStash'.

          As part of this, it would make a lot of sense to also add an alias command of 'notifyBitbucket' as Stash was renamed a bit ago to Bitbucket. This way, it will be less confusing for anyone who started using the service as Bitbucket.

          mcrooney added a comment -

          mcrooney added a comment - You can see how android-lint implemented this here: https://github.com/jenkinsci/android-lint-plugin/compare/android-lint-2.3...android-lint-2.4
          Pavel Batanov made changes -
          Remote Link New: This issue links to "Github issue (Web Link)" [ 15068 ]

          Jordan Coll added a comment -

          This could also remove the need for the step to be executed with a `FilePath` context.

          Jordan Coll added a comment - This could also remove the need for the step to be executed with a `FilePath` context.
          Pavel Batanov made changes -
          Remote Link New: This issue links to "GH Issue (Web Link)" [ 17839 ]
          Pavel Batanov made changes -
          Remote Link Original: This issue links to "Github issue (Web Link)" [ 15068 ]
          Pavel Batanov made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            scaytrase Pavel Batanov
            mcrooney mcrooney
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: