Skip to content

Commit

Permalink
Merge pull request #333 from cultuurnet/feature/OPS-958
Browse files Browse the repository at this point in the history
[OPS-958] Include Build-Url in build_artifact rake task
  • Loading branch information
paulherbosch authored Nov 24, 2022
2 parents 51047d3 + d840cc0 commit 0deba79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/tasks/projectaanvraag-api/build_artifact.rake
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace 'projectaanvraag-api' do
license = 'Apache-2.0'
description = 'Projectaanvraag Api'
source = 'https://github.com/cultuurnet/projectaanvraag-silex/'
build_url = ENV['JOB_DISPLAY_URL'].nil? ? "" : ENV['JOB_DISPLAY_URL']

FileUtils.mkdir_p('pkg')

Expand All @@ -25,6 +26,7 @@ namespace 'projectaanvraag-api' do
--license '#{license}' -m '#{maintainer}' \
--deb-field 'Pipeline-Version: #{calver_version}' \
--deb-field 'Git-Ref: #{git_short_ref}' \
--deb-field 'Build-Url: #{build_url}' \
."
) or exit 1
end
Expand Down

0 comments on commit 0deba79

Please sign in to comment.