Update Jenkinsfile to use JENKINS-43507 syntax for resolveScm

This commit is contained in:
Stephen Connolly 2017-08-29 21:47:50 +01:00
parent f047ea1437
commit e44c39c2eb
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -49,7 +49,7 @@ node('ubuntu') {
junit allowEmptyResults: true, testResults:'**/target/*-reports/*.xml'
}
tests = resolveScm source: [$class: 'GitSCMSource', credentialsId: '', excludes: '', gitTool: 'Default', id: '_', ignoreOnPushNotifications: false, includes: '*', remote: 'https://git-wip-us.apache.org/repos/asf/maven-integration-testing.git'], targets: [BRANCH_NAME, 'master']
tests = resolveScm source: [$class: 'GitSCMSource', credentialsId: '', id: '_', remote: 'https://git-wip-us.apache.org/repos/asf/maven-integration-testing.git', traits: [[$class: 'jenkins.plugins.git.traits.BranchDiscoveryTrait'], [$class: 'GitToolSCMSourceTrait', gitTool: 'Default']]], targets: [BRANCH_NAME, 'master']
}
}