From e44c39c2eb5afda9efe60b9dd0ffc32c62501c5f Mon Sep 17 00:00:00 2001 From: Stephen Connolly Date: Tue, 29 Aug 2017 21:47:50 +0100 Subject: [PATCH] Update Jenkinsfile to use JENKINS-43507 syntax for resolveScm --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b6c7e19ba7..004abcbc22 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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'] } }