lib/vx/builder/script/artifacts.rb in vx-builder-0.0.29 vs lib/vx/builder/script/artifacts.rb in vx-builder-0.1.0

- old
+ new

@@ -10,22 +10,22 @@ def call(env) rs = app.call env if enabled?(env) - env.after_success << "echo" + env.after_script << "echo" env.source.artifacts.attributes.map{|a| compile(a) }.each do |artifact| find = FIND % artifact prefix = env.task.artifacts_url_prefix cmd = %{ for i in $(#{find}) ; do echo "upload artifact $i" curl -s -S -X PUT -T $i #{prefix}/$i > /dev/null done } - env.after_success << cmd + env.after_script << cmd end - env.after_success << "echo" + env.after_script << "echo" end rs end