Uses of Class
fr.paris.lutece.plugins.releaser.business.platform.PlatformReleaseStep
Packages that use PlatformReleaseStep
Package
Description
-
Uses of PlatformReleaseStep in fr.paris.lutece.plugins.releaser.business.platform
Methods in fr.paris.lutece.plugins.releaser.business.platform that return PlatformReleaseStepModifier and TypeMethodDescriptionstatic PlatformReleaseStepPlatformReleaseStepHome.create(PlatformReleaseStep step) Create an instance of the step classstatic PlatformReleaseStepPlatformReleaseStepHome.findByPlatformReleaseAndNumber(int nIdPlatformRelease, int nStepNumber) Returns one step of a campaign by its number, step 0 includedstatic PlatformReleaseStepPlatformReleaseStepHome.findByPrimaryKey(int nKey) Returns an instance of a step whose identifier is specified in parameterPlatformRelease.getPrecheckStep()Returns the step 0 (test of the SNAPSHOT of the campaign), loaded with the steps but kept out of them.IPlatformReleaseStepDAO.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tablePlatformReleaseStepDAO.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableIPlatformReleaseStepDAO.selectByPlatformReleaseAndNumber(int nIdPlatformRelease, int nStepNumber, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load one step of a campaign by its number, step 0 includedPlatformReleaseStepDAO.selectByPlatformReleaseAndNumber(int nIdPlatformRelease, int nStepNumber, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load one step of a campaign by its number, step 0 includedstatic PlatformReleaseStepPlatformReleaseStepHome.update(PlatformReleaseStep step) Update of the step which is specified in parameterMethods in fr.paris.lutece.plugins.releaser.business.platform that return types with arguments of type PlatformReleaseStepModifier and TypeMethodDescriptionstatic List<PlatformReleaseStep>PlatformReleaseStepHome.findByPlatformRelease(int nIdPlatformRelease) Returns the steps 1 to 5 of a campaign, ordered by step number : the verification of step 0 is left outPlatformRelease.getSteps()Returns the steps.IPlatformReleaseStepDAO.selectByPlatformRelease(int nIdPlatformRelease, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the steps 1 to 5 of a campaign, ordered by step number : the verification of step 0 is left outPlatformReleaseStepDAO.selectByPlatformRelease(int nIdPlatformRelease, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the steps 1 to 5 of a campaign, ordered by step number : the verification of step 0 is left outMethods in fr.paris.lutece.plugins.releaser.business.platform with parameters of type PlatformReleaseStepModifier and TypeMethodDescriptionstatic PlatformReleaseStepPlatformReleaseStepHome.create(PlatformReleaseStep step) Create an instance of the step classvoidIPlatformReleaseStepDAO.insert(PlatformReleaseStep step, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.voidPlatformReleaseStepDAO.insert(PlatformReleaseStep step, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.voidPlatformRelease.setPrecheckStep(PlatformReleaseStep precheckStep) Sets the step 0.voidIPlatformReleaseStepDAO.store(PlatformReleaseStep step, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the tablevoidPlatformReleaseStepDAO.store(PlatformReleaseStep step, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the tablestatic PlatformReleaseStepPlatformReleaseStepHome.update(PlatformReleaseStep step) Update of the step which is specified in parameterMethod parameters in fr.paris.lutece.plugins.releaser.business.platform with type arguments of type PlatformReleaseStepModifier and TypeMethodDescriptionvoidPlatformRelease.setSteps(List<PlatformReleaseStep> listSteps) Sets the steps. -
Uses of PlatformReleaseStep in fr.paris.lutece.plugins.releaser.service.platform
Methods in fr.paris.lutece.plugins.releaser.service.platform that return PlatformReleaseStepModifier and TypeMethodDescriptionstatic PlatformReleaseStepPlatformPrecheckService.getPrecheckStep(PlatformRelease campaign) Returns the step 0 of a campaign, created when missing (campaigns created before the step 0).static PlatformReleaseStepPlatformReleaseService.getStep(PlatformRelease campaign, int nStepNumber) Returns a step of a campaign, the step 0 included.Methods in fr.paris.lutece.plugins.releaser.service.platform with parameters of type PlatformReleaseStepModifier and TypeMethodDescriptionstatic voidPlatformReleaseService.attachBuild(PlatformReleaseStep step, String strBuildUrl, int nBuildNumber) Records the Jenkins build of a running step, once the queue has started it.static voidPlatformReleaseService.completeStep(PlatformRelease campaign, PlatformReleaseStep step, PlatformStepResult result, String strJenkinsResult) Records the success of a step and unlocks the next one.static voidPlatformReleaseService.failStep(PlatformRelease campaign, PlatformReleaseStep step, String strJenkinsResult) Records the failure of a step : the campaign stays on this step, which can be prepared and sent again.static voidPlatformReleaseService.failStep(PlatformRelease campaign, PlatformReleaseStep step, String strJenkinsResult, PlatformStepResult partialResult) Records the failure of a step with the partial report of the pipeline : the components released before the failure are stored, so that the next attempt of the step does not release them again.static voidPlatformReleaseService.finishDryRun(PlatformRelease campaign, PlatformReleaseStep step, String strJenkinsResult, String strReport) Records the end of a dry run : nothing was released, the step is ready again and keeps the Jenkins result and the report of the build for information.static voidPlatformReleaseService.finishVerification(PlatformRelease campaign, PlatformReleaseStep step, String strJenkinsResult, String strReport, Map<String, PlatformResourceVerification> mapVerifications) Ends a verification : the step goes back to READY like after a simulation, the verifications read from the pipeline replace the previous ones of the same resources and keep the others (a retest of some components only), the report of the verification is the report of the step.PlatformReleaseService.getBranchHeads(PlatformReleaseStep step, Site site, ReleaserUser user) Reads the current commit of the branch of every resource verified OK or with a warning, in parallel and with the credentials of the user : a resource whose branch moved since its verification is stale.static Map<String,PlatformPlanResource> PlatformPrecheckService.getPlanResources(PlatformReleaseStep step) Returns the resources of the plan of the step 0, by "groupId:artifactId" : their branch is shown with the result.PlatformReleaseService.getRawVerificationStatuses(PlatformReleaseStep step) Returns the status of each resource as last verified, "groupId:artifactId" to OK, TO_FIX or WARNING, without comparing to the current target versions : for the summary of the campaign page, where the steps are not prepared.static StringPlatformReleaseService.getStepStamp(PlatformReleaseStep step) Identifies the state of a step as seen by a prepared screen : the screen must be rebuilt when the step was run meanwhile, otherwise components published by a failed attempt would be sent again.static Map<String,PlatformResourceVerification> PlatformReleaseService.getStepVerifications(PlatformReleaseStep step) Returns the last verification of each resource of a step, "groupId:artifactId" to verification.PlatformReleaseService.getUndecidedUntestedResources(PlatformReleaseStep step, Map<String, String> mapStatuses) Returns the resources a release cannot be launched with : to fix for commits made after their last beta or RC, without a decision.static Map<String,PlatformUntestedDecision> PlatformReleaseService.getUntestedDecisions(PlatformReleaseStep step) Returns the decisions of a step that still hold, "groupId:artifactId" to decision.static StringPlatformReleaseService.getVerificationDate(PlatformReleaseStep step) Returns the date of the last verification of a step.PlatformReleaseService.getVerificationStatuses(PlatformReleaseStep step, Site site, Map<String, String> mapBranchHeads) Returns the verification status of each resource to release in a prepared step, "groupId:artifactId" to OK, TO_FIX, WARNING, NOT_VERIFIED or STALE : the components to release, then the aggregate.static booleanPlatformReleaseService.isStepFollowed(PlatformReleaseStep step) Whether the build of a running step is followed by a task of this webapp.static booleanPlatformReleaseService.isVerifying(PlatformReleaseStep step) Whether a step is running a verification of its components.static voidPlatformReleaseService.recordFollowUpGivenUp(PlatformReleaseStep step, String strResult) Records the cause of a lost follow-up on a running step : only the Jenkins result text is written, the status stays RUNNING so that the step can be rearmed on its build.static booleanPlatformReleaseService.setUntestedDecision(PlatformReleaseStep step, String strCoordinates, String strUserName, boolean bAccept, boolean bFromTag) Records the decision to release a resource from the SNAPSHOT despite its untested commits, or from the beta or RC tag they follow, on the commit of its last verification, or cancels it.static voidPlatformReleaseService.startStep(PlatformRelease campaign, PlatformReleaseStep step, PlatformReleasePlan plan) Records the start of a step : the plan sent to Jenkins, the step and the campaign running.static voidPlatformReleaseService.updateBugtrackerVersions(PlatformReleaseStep step, PlatformReleasePlan plan, PlatformStepResult result) Updates the bugtracker for the resources published by a build, as the component workflow does after a classic release : the Redmine version of each published component is closed and the next one created, a beta or RC leaves it untouched, a component without project is reported.