Skip to content

Commit

Permalink
add the contents of the plugins gemfile.d to the checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Jan 23, 2024
1 parent 2fb6c3b commit 546ff4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions theforeman.org/pipelines/lib/foreman.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ def databaseFile(id) {

def addGem() {
writeFile(text: "gemspec :path => '../', :development_group => :dev", file: 'bundler.d/Gemfile.local.rb')
if(fileExists('../gemfile.d/')) {
sh "cat ../gemfile.d/*.rb >> bundler.d/Gemfile.local.rb"
}
}

def addSettings(settings) {
Expand Down

0 comments on commit 546ff4b

Please sign in to comment.