javaposse.jobdsl.dsl.helpers.publisher.ScpContext.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of job-dsl-core Show documentation
Show all versions of job-dsl-core Show documentation
Javaposse jenkins job-dsl-core
package javaposse.jobdsl.dsl.helpers.publisher
import javaposse.jobdsl.dsl.helpers.Context
class ScpContext implements Context {
private List entries = []
def entry(String source, String destination = '', boolean keepHierarchy = false) {
entries << new ScpEntry(source: source, destination: destination, keepHierarchy: keepHierarchy)
}
static class ScpEntry {
String source
String destination
boolean keepHierarchy
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy