Interface RepositoryEventAware

    • Method Detail

      • preRetrieveSourceCode

        void preRetrieveSourceCode​(@NotNull
                                   @NotNull BuildContext buildContext,
                                   @NotNull
                                   @NotNull File sourceDirectory)
        preRetrieveSourceCode will run before the retrieveSourceCode method is called. It allows you to do custom actions to prepare for the checkout such as some customised cleanup of the source directory.
        Parameters:
        buildContext -
        sourceDirectory -
      • postRetrieveSourceCode

        void postRetrieveSourceCode​(@NotNull
                                    @NotNull BuildContext buildContext,
                                    @NotNull
                                    @NotNull File sourceDirectory)
        postRetrieveSourceCode will run after the retrieveSourceCode method is called. The extension point allows you to easily set custom data, do any post checkout collection of data.
        Parameters:
        buildContext -
        sourceDirectory -