Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

Commit

Permalink
Merge pull request #39 from maestrodev/feature/Remove_old_plugin_vers…
Browse files Browse the repository at this point in the history
…ions

Remove old plugin versions because SonarQube does not support two dif…
  • Loading branch information
racodond committed Jul 30, 2015
2 parents f8133d3 + 0cbc102 commit b5ea335
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions manifests/plugin.pp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
before => File[$plugin],
require => File[$sonarqube::plugin_dir],
}
exec { "remove-old-versions-of-${artifactid}":
command => "rm -f ${sonarqube::plugin_dir}/${artifactid}*.jar",
path => '/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin',
}
->
file { $plugin:
ensure => $ensure,
source => "/tmp/${plugin_name}",
Expand Down

0 comments on commit b5ea335

Please sign in to comment.