CORE-594 - Debug installer creation
This commit is contained in:
parent
cfcdf5c827
commit
5b3f7a7226
1 changed files with 17 additions and 3 deletions
|
|
@ -45,8 +45,22 @@ class ImportOptions {
|
|||
m_appendtoparentmeta = appendtoparentmeta
|
||||
}
|
||||
|
||||
void show() {
|
||||
m_script.echo(this.toString())
|
||||
String show() {
|
||||
return """m_incrementversionnumber: ${m_incrementversionnumber}
|
||||
m_filter: ${m_filter}
|
||||
m_excludes: ${m_excludes}
|
||||
m_fingerprint: ${m_fingerprint}
|
||||
m_nested: ${m_nested}
|
||||
m_flatten: ${m_flatten}
|
||||
m_includemetainfilter: ${m_includemetainfilter}
|
||||
m_clean: ${m_clean}
|
||||
m_appendtoparentmeta: ${m_appendtoparentmeta}
|
||||
m_sourceselect: ${m_sourceselect}
|
||||
m_jobname: ${m_jobname}
|
||||
m_buildnumberorselector: ${m_buildnumberorselector}
|
||||
m_repo: ${m_repo}
|
||||
m_revision: ${m_revision}
|
||||
"""
|
||||
}
|
||||
|
||||
void setsourceselect(String sourceselect) {
|
||||
|
|
@ -267,7 +281,7 @@ def artifactimportfromrepo(meta, ImportOptions importoptions, String destpath) {
|
|||
}
|
||||
|
||||
def artifactimport(meta, ImportOptions importoptions, String destpath) {
|
||||
importoptions.show()
|
||||
echo "Importing artifacts: Import options:\n${importoptions.show()}\n to: ${destpath}"
|
||||
switch (importoptions.m_sourceselect) {
|
||||
case 'Jenkins job artifact':
|
||||
case 'Jenkins job artefact':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue