DependencyGraph and append RunCondition to Dependency.DependencyGraph.Dependency and evaluates RunCondition when the dependency is triggered.MatrixAggregator for the wrapped Publisher.MatrixAggregator for FlexiblePublisher.
import static org.jenkins_ci.plugins.flexible_publish.JobUpdater.*
def job = hudson.model.Hudson.instance.getItem('xxx')
list job
// Or, if you like doing it the hard way ...
import static org.jenkins_ci.plugins.flexible_publish.JobUpdater.*
def job = hudson.model.Hudson.instance.getItem('xxx')
listCanMove job
import static org.jenkins_ci.plugins.flexible_publish.JobUpdater.*
def job = hudson.model.Hudson.instance.getItem('xxx')
listCannotMove job
// Or, if you like doing it the hard way ...
import static org.jenkins_ci.plugins.flexible_publish.JobUpdater.*
def job = hudson.model.Hudson.instance.getItem('xxx')
movePublisher job, 'archive the artifacts'
Once executed, go to the configure page to check that everything looks OK, then save the configurationCopyright © 2004-2013. All Rights Reserved.