Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Henrich committed Nov 11, 2014
2 parents 6707ac4 + f21943b commit 7aed68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jenkins_pipeline_builder/cli/helper.rb
Expand Up @@ -44,7 +44,7 @@ def self.setup(options)
(options[:password] || options[:password_base64])
creds = options
elsif options[:creds_file]
if creds_file.end_with? "json"
if options[:creds_file].end_with? "json"
creds = JSON.parse(IO.read(File.expand_path(options[:creds_file])))
else
creds = YAML.load_file(File.expand_path(options[:creds_file]))
Expand Down

0 comments on commit 7aed68c

Please sign in to comment.