anchor.diff:      			}
       	    }
           }
  +	maven {
  +	    rootPOM("spring-petclinic-test/pom.xml")
  +	    goals('-P functional-test clean verify -Dpetclinic.version=${projectVersion}')
  +	    mavenInstallation(maven_installation)
  +    	    configure { project ->
  +    		    project << globalSettings(
  +                    class:'org.jenkinsci.plugins.configfiles.maven.job.MvnGlobalSettingsProvider',
  +                    plugin:"config-file-provider@<%= @plugins['config-file-provider'] %>"
  +                ) {
  +    			    settingsConfigId('<%= @settings_id %>')
  +    			}
  +    	    }
  +	}
           systemGroovyCommand(set_version)
  -        publishers {
  -            archiveArtifacts 'version.properties'
  -        }
           downstreamParameterized {
  -            trigger('dev-deploy') {
  +            trigger('integration-tests') {
                   currentBuild()
  -            }
  -        }
  -    }
  -}
  -
  -job {
  -    name "${project_name}/dev-deploy"
  +		propertiesFile('version.properties')
  +            }
  +        }
  +    }
  +}
  +
  +job(type: Maven) {
  +    name "${project_name}/integration-tests"
  +    jdk('/usr/lib/jvm/java/')
       parameters {
  -        configure { project ->
  -            project / 'properties' / 'hudson.model.ParametersDefinitionProperty' / 'parameterDefinitions' << 'hudson.plugins.copyartifact.BuildSelectorParameter'(
  -            plugin: 'copyartifact@<%= @plugins['copyartifact'] %>') {
  -                name('BUILD_SELECTOR')
  -                description('Build to deploy')
  -                project << defaultSelector(class: "hudson.plugins.copyartifact.StatusBuildSelector")
  -            }
  -        }
           stringParam('QUBELL_APP_ID', '53eb65e9e4b0f24b4a52c0f2', 'Qubell Application ID')
           stringParam('QUBELL_ENV_ID', '53f5d94ce4b0b03d045f7a13', 'Qubell Env ID')
       }
  -    steps {
  -        copyArtifacts('dev-build', 'version.properties') {
  -            buildParameter('BUILD_SELECTOR')
  -        }
  -        environmentVariables {
  -            propertiesFile('version.properties')
  -        }
  -        configure { project ->
  -            project / builders << "com.qubell.jenkinsci.plugins.qubell.builders.StartInstanceBuilder"(
  -            plugin: "qubell@<%= @qubell_plugin_version %>") {
  -                expectedStatus('RUNNING')
  -                timeout('1200')
  -                outputFilePath('qubell_output.json')
  -                manifestRelativePath('')
  -                environmentId('\${QUBELL_ENV_ID}')
  -                applicationId('\${QUBELL_APP_ID}')
  -                extraParameters(qubell_app_params)
  -            }
  -        }
  -    }
  -}
  -
  -job(type: Maven) {
  -    name "${project_name}/fb-build"
  -    jdk("/usr/lib/jvm/java/")
  -    configure { project ->
  -	    project << globalSettings(class:'org.jenkinsci.plugins.configfiles.maven.job.MvnGlobalSettingsProvider', plugin:'config-file-provider@<%= @plugins['config-file-provider'] %>') {
  +    configure { project ->
  +	    project << globalSettings(
  +            class:'org.jenkinsci.plugins.configfiles.maven.job.MvnGlobalSettingsProvider',
  +            plugin:'config-file-provider@<%= @plugins['config-file-provider'] %>'
  +        ) {
   		    settingsConfigId('<%= @settings_id %>')
   		}
       }
  
positive.code:                 -DartifactId=asf-webapp-demo
                  -Dversion=\${buildVersion}
                  -Dpackaging=war
                  -DrepositoryId=builds
                  -Dfile=\${WORKSPACE}/target/petclinic.war
                  -Durl=\${NEXUS_URL}/content/repositories/builds""")
      	    configure { project ->
      		    project << globalSettings(
                      class:'org.jenkinsci.plugins.configfiles.maven.job.MvnGlobalSettingsProvider',
  
negative.code: 			}
  	    }
          }
  	maven {
  	    rootPOM("spring-petclinic-test/pom.xml")
  	    goals('-P functional-test clean verify -Dpetclinic.version=${projectVersion}')
  	    mavenInstallation(maven_installation)
      	    configure { project ->
      		    project << globalSettings(
                      class:'org.jenkinsci.plugins.configfiles.maven.job.MvnGlobalSettingsProvider',
                      plugin:"config-file-provider@<%= @plugins['config-file-provider'] %>"
                  ) {
      			    settingsConfigId('<%= @settings_id %>')
      			}
      	    }
  	}
      }
  }
  