Examples of runBuild()


Examples of com.groupon.jenkins.dynamic.buildtype.BuildType.runBuild()

                if (!buildEnvironment.initialize()) {
                    return Result.FAILURE;
                }
                setDescription(getCause().getBuildDescription());
                BuildType buildType = BuildType.getBuildType(getParent());
                Result buildRunResult =   buildType.runBuild(DynamicBuild.this, this, launcher, listener);
                setResult(buildRunResult);
                return buildRunResult;
            } catch (InvalidBuildConfigurationException invalidBuildConfigurationException) {
                for (String error : invalidBuildConfigurationException.getValidationErrors()) {
                    listener.error(error);
View Full Code Here

Examples of org.codinjutsu.tools.jenkins.logic.RequestManager.runBuild()

                    public void notifyOnError(Job job, Exception ex) {
                        browserPanel.notifyErrorJenkinsToolWindow("Build '" + job.getName() + "' cannot be run: " + ex.getMessage());
                    }
                });
            } else {
                requestManager.runBuild(job, JenkinsAppSettings.getSafeInstance(project));
                notifyOnGoingMessage(job);
                browserPanel.loadSelectedJob();
            }

        } catch (Exception ex) {
View Full Code Here

Examples of org.codinjutsu.tools.jenkins.logic.RequestManager.runBuild()

                    if ((null != virtualFile)) {
                        if (virtualFile.exists()) {
                            Map<String, VirtualFile> files = new HashMap<String, VirtualFile>();
                            files.put(PARAMETER_NAME, virtualFile);
                            requestManager.runBuild(job, settings, files);
                            notifyOnGoingMessage(job);
                            browserPanel.loadSelectedJob();
                        } else {
                            message = String.format("File \"%s\" not exists", virtualFile.getPath());
                        }
View Full Code Here

Examples of org.codinjutsu.tools.jenkins.logic.RequestManager.runBuild()

                                JenkinsAppSettings settings = JenkinsAppSettings.getSafeInstance(project);
                                Map<String, VirtualFile> files = new HashMap<String, VirtualFile>();
                                VirtualFile virtualFile = UploadPatchToJob.prepareFile(browserPanel, LocalFileSystem.getInstance().refreshAndFindFileByIoFile(new File(FILENAME)), settings, selectedJob);
                                if (virtualFile != null && virtualFile.exists()) {
                                    files.put(UploadPatchToJob.PARAMETER_NAME, virtualFile);
                                    requestManager.runBuild(selectedJob, settings, files);
                                    //browserPanel.loadSelectedJob();
                                    browserPanel.notifyInfoJenkinsToolWindow(HtmlUtil.createHtmlLinkMessage(
                                        selectedJob.getName() + " build is on going",
                                        selectedJob.getUrl())
                                    );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.