Interface CommonPublishOptions

    • Method Detail

      • getPostPublishSteps

        @Stability(Experimental)
        @Nullable
        default List<JobStep> getPostPublishSteps()
        (experimental) Steps to execute after executing the publishing command.

        These can be used to add/update the release artifacts ot any other tasks needed.

        Note that when using this in publishToGitHubReleases this will override steps added via addGitHubPostPublishingSteps.

      • getPrePublishSteps

        @Stability(Experimental)
        @Nullable
        default List<JobStep> getPrePublishSteps()
        (experimental) Steps to execute before executing the publishing command. These can be used to prepare the artifact for publishing if neede.

        These steps are executed after dist/ has been populated with the build output.

        Note that when using this in publishToGitHubReleases this will override steps added via addGitHubPrePublishingSteps.

      • getPublishTools

        @Stability(Experimental)
        @Nullable
        default Tools getPublishTools()
        (experimental) Additional tools to install in the publishing job.

        Default: - no additional tools are installed