if (selectedJobName != null && !selectedJobName.isEmpty()) {
Job selectedJob = browserPanel.getJob(selectedJobName);
if (selectedJob != null) {
if (selectedJob.hasParameters()) {
if (selectedJob.hasParameter(UploadPatchToJob.PARAMETER_NAME)) {
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);