|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
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 configuration
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||