defined maven_activation_property. Change maven_activation_property
empty value from "" to ''
This commit is contained in:
parent
d3243c1ffe
commit
e737501db6
|
@ -2,7 +2,7 @@
|
||||||
import org.yaml.snakeyaml.Yaml
|
import org.yaml.snakeyaml.Yaml
|
||||||
|
|
||||||
// set the build options according to the Type of build
|
// set the build options according to the Type of build
|
||||||
def (options, maven_local_repo_path, maven_settings_file, maven_parent_file) = ['', '', '', '']
|
def (options, maven_local_repo_path, maven_settings_file, maven_activation_property, maven_parent_file) = ['', '', '', '', '']
|
||||||
def agent_root_folder = '/var/lib/jenkins/.m2'
|
def agent_root_folder = '/var/lib/jenkins/.m2'
|
||||||
def verbose = true
|
def verbose = true
|
||||||
def resume = params.resume_from
|
def resume = params.resume_from
|
||||||
|
@ -19,7 +19,7 @@ if (params.Type == 'SNAPSHOT') {
|
||||||
options = ''
|
options = ''
|
||||||
maven_local_repo_path = "local-snapshots"
|
maven_local_repo_path = "local-snapshots"
|
||||||
maven_settings_file = "jenkins-snapshots-settings.xml"
|
maven_settings_file = "jenkins-snapshots-settings.xml"
|
||||||
maven_activation_property="";
|
maven_activation_property='';
|
||||||
maven_parent_file = "jenkins-snapshots-dry-run-settings.xml"
|
maven_parent_file = "jenkins-snapshots-dry-run-settings.xml"
|
||||||
}
|
}
|
||||||
if (params.Type == 'RELEASE-DRY-RUN') {
|
if (params.Type == 'RELEASE-DRY-RUN') {
|
||||||
|
|
Loading…
Reference in New Issue