Update Jenkinsfile to use JENKINS-43507 syntax for resolveScm
Project: http://git-wip-us.apache.org/repos/asf/maven/repo Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/e44c39c2 Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/e44c39c2 Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/e44c39c2 Branch: refs/heads/MNG-6255 Commit: e44c39c2eb5afda9efe60b9dd0ffc32c62501c5f Parents: f047ea1 Author: Stephen Connolly <stephen.alan.conno...@gmail.com> Authored: Tue Aug 29 21:47:50 2017 +0100 Committer: Stephen Connolly <stephen.alan.conno...@gmail.com> Committed: Tue Aug 29 21:47:50 2017 +0100 ---------------------------------------------------------------------- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven/blob/e44c39c2/Jenkinsfile ---------------------------------------------------------------------- diff --git a/Jenkinsfile b/Jenkinsfile index b6c7e19..004abcb 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'] } }