@Override public void addProperty(JobProperty<? super P> jobProp) throws IOException { super.addProperty(jobProp); updateTransientActions(); }
public synchronized void setBuildDiscarder(BuildDiscarder bd) throws IOException { try (BulkChange bc = new BulkChange(this)) { removeProperty(BuildDiscarderProperty.class); if (bd != null) { addProperty(new BuildDiscarderProperty(bd)); } bc.commit(); } }
public void superAddProperty(JobProperty<? super JobT> jobProp) throws IOException { super.addProperty(jobProp); }
@Override public void addProperty(JobProperty<? super P> jobProp) throws IOException { super.addProperty(jobProp); updateTransientActions(); }
@Override public void addProperty(JobProperty<? super P> jobProp) throws IOException { super.addProperty(jobProp); updateTransientActions(); }
@Override public void addProperty(JobProperty<? super P> jobProp) throws IOException { super.addProperty(jobProp); updateTransientActions(); }
@Override public void addProperty(JobProperty<? super P> jobProp) throws IOException { super.addProperty(jobProp); updateTransientActions(); }
@Restricted(NoExternalUse.class) public void addTriggersJobPropertyWithoutStart(PipelineTriggersJobProperty prop) throws IOException { super.addProperty(prop); }
@Override public void addProperty(JobProperty<? super P> jobProp) throws IOException { super.addProperty(jobProp); updateTransientActions(); }
private void updateProperties(Job<?, ?> job, String connectionName) { try { job.removeProperty(GitLabConnectionProperty.class); job.addProperty(new GitLabConnectionProperty(connectionName)); } catch (IOException e) { LOGGER.warning("could not update gitlab-connection-property to job " + job.getName() + ": " + e.getMessage()); } } }
@Override public void addProperty(JobProperty<? super JobT> jobProp) throws IOException { initPython(); if (pexec.isImplemented(26)) { pexec.execPythonVoid("add_property", jobProp); } else { super.addProperty(jobProp); } }
public synchronized void setBuildDiscarder(BuildDiscarder bd) throws IOException { try (BulkChange bc = new BulkChange(this)) { removeProperty(BuildDiscarderProperty.class); if (bd != null) { addProperty(new BuildDiscarderProperty(bd)); } bc.commit(); } }
@Override public void onStarted(Run build, TaskListener listener) { if (PluginImpl.shouldScan(build) && build.getParent().getProperty(ScannerJobProperty.class) == null) { try { build.getParent().addProperty(new ScannerJobProperty(false)); } catch (IOException e) { logger.log(Level.WARNING, "Failed to add a ScannerJobProperty to " + build.getParent().getFullDisplayName(), e); listener.getLogger().println("[BFA] WARNING! Failed to add the scanner property to this job."); } } }
@Override public void addProperty(JobProperty jobProp) throws IOException { super.addProperty(jobProp); getTriggersJobProperty().stopTriggers(); getTriggersJobProperty().startTriggers(Items.currentlyUpdatingByXml()); }
jobFromBuildConfig.addProperty( new BuildConfigProjectProperty( buildConfig.getMetadata().getNamespace(),