Skip to content

Commit

Permalink
Update Jenkinsfile to use JENKINS-43507 syntax for resolveScm
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Aug 29, 2017
1 parent f047ea1 commit e44c39c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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']
}
}

Expand Down

0 comments on commit e44c39c

Please sign in to comment.