Skip to content

Commit

Permalink
[ci] avoid warnings due to missing build job start information
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Aug 18, 2015
1 parent ee70b31 commit 4af798c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def inject_build_job(project, package, repo, arch, extrabinary=nil)
data = REXML::Document.new(File.new(jobfile))
verifymd5 = data.elements['/buildinfo/verifymd5'].text
f = File.open("#{jobfile}:status", 'w')
f.write("<jobstatus code=\"building\"> <jobid>#{jobid}</jobid> <workerid>simulated</workerid> <hostarch>#{arch}</hostarch> </jobstatus>")
f.write("<jobstatus code=\"building\"> <jobid>#{jobid}</jobid> <starttime>0</starttime> <workerid>simulated</workerid> <hostarch>#{arch}</hostarch> </jobstatus>")
f.close
extrabinary=" -o -name #{extrabinary}" if extrabinary
# rubocop:disable Metrics/LineLength
Expand Down

0 comments on commit 4af798c

Please sign in to comment.