https://jenkins.io/doc/developer/plugin-development/pipeline-integration/

       

      something like:

      apkSize(
        apkDir: 'path/to/apkDir`,
        threshold: '1.5' 
      )

       

          [JENKINS-47961] Add pipeline script support

          Daniel Gronau added a comment -

          trevjonez Thank you for your feedback! I am done now with writing my master thesis and can finally work on the plugin again.
          So the next version will definitely include pipeline support!

          Daniel Gronau added a comment - trevjonez Thank you for your feedback! I am done now with writing my master thesis and can finally work on the plugin again. So the next version will definitely include pipeline support!

          Trevor Jones added a comment -

          NP. If I knew more about jenkins internals I would work up a PR but it is still outside my realm of knowledge. Happy to see some kotlin in there though.

          Trevor Jones added a comment - NP. If I knew more about jenkins internals I would work up a PR but it is still outside my realm of knowledge. Happy to see some kotlin in there though.

            xgleich1 Daniel Gronau
            trevjonez Trevor Jones
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: