|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
import org.yaml.snakeyaml.Yaml
|
|
|
|
|
|
|
|
|
|
// 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 verbose = true
|
|
|
|
|
def resume = params.resume_from
|
|
|
|
@ -19,7 +19,7 @@ if (params.Type == 'SNAPSHOT') {
|
|
|
|
|
options = ''
|
|
|
|
|
maven_local_repo_path = "local-snapshots"
|
|
|
|
|
maven_settings_file = "jenkins-snapshots-settings.xml"
|
|
|
|
|
maven_activation_property="";
|
|
|
|
|
maven_activation_property='';
|
|
|
|
|
maven_parent_file = "jenkins-snapshots-dry-run-settings.xml"
|
|
|
|
|
}
|
|
|
|
|
if (params.Type == 'RELEASE-DRY-RUN') {
|
|
|
|
|