require 'pact_broker/client/tasks'
PactBroker::Client::PublicationTask.new do | task |
require 'my_consumer/version'
task.consumer_version = ENV["GIT_COMMIT"]
task.pattern = 'custom/path/to/pacts/*.json'
task.pact_broker_base_url = "http://pact-broker"
task.branch = ENV["GIT_BRANCH"]
task.tag_with_git_branch = true|false
task.tags = ["dev"]
task.build_url = ENV["CI_BUILD_URL"]
task.pact_broker_basic_auth = { username: 'basic_auth_user', password: 'basic_auth_pass'}
task.pact_broker_token = "1234abcd"
task.write_method = :merge
end