Class PublishAppBuilder

  • All Implemented Interfaces:
    ExtensionPoint, Describable<Builder>, BuildStep, SimpleBuildStep

    public class PublishAppBuilder
    extends ProgressBuilder
    Build step responsible for publishing the specified application and all of its artifacts to the application repository. See API documentation: https://developer.servicenow.com/dev.do#!/reference/api/orlando/rest/cicd-api#cicd-POST-app_repo-publish?navFilter=sn_cicd
    • Constructor Detail

      • PublishAppBuilder

        @DataBoundConstructor
        public PublishAppBuilder​(String credentialsId)
    • Method Detail

      • getAppScope

        public String getAppScope()
      • setAppScope

        @DataBoundSetter
        public void setAppScope​(String appScope)
      • getAppSysId

        public String getAppSysId()
      • setAppSysId

        @DataBoundSetter
        public void setAppSysId​(String appSysId)
      • getAppVersion

        public String getAppVersion()
      • setAppVersion

        @DataBoundSetter
        public void setAppVersion​(String appVersion)
      • getDevNotes

        public String getDevNotes()
      • setDevNotes

        @DataBoundSetter
        public void setDevNotes​(String devNotes)
      • getObtainVersionAutomatically

        public Boolean getObtainVersionAutomatically()
      • setObtainVersionAutomatically

        @DataBoundSetter
        public void setObtainVersionAutomatically​(Boolean obtainVersionAutomatically)
      • getIncrementBy

        public Integer getIncrementBy()
      • setIncrementBy

        @DataBoundSetter
        public void setIncrementBy​(Integer incrementBy)
      • getIsAppCustomization

        public Boolean getIsAppCustomization()
      • setIsAppCustomization

        @DataBoundSetter
        public void setIsAppCustomization​(Boolean appCustomization)
      • setApplicationVersion

        @Inject
        public void setApplicationVersion​(ApplicationVersion applicationVersion)
      • getNextAppVersion

        public String getNextAppVersion​(String currentVersion)
        Returns next application version based on current version given in the argument.
        Parameters:
        currentVersion - Current version of the application
        Returns:
        Next valid application version.