Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: theforeman/jenkins-jobs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d147dd64c92462da6004352a29aca86bb6b1655e
Choose a base ref
..
head repository: theforeman/jenkins-jobs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9de04411fd609c47f8c179535dfaac87324b09c2
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 theforeman.org/pipelines/lib/foreman.groovy
4 changes: 2 additions & 2 deletions theforeman.org/pipelines/lib/foreman.groovy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
def railsEnvForTask(task, env) {
def databaseUrlForTask(task, env) {
if (task == 'assets:precompile') {
return 'nulldb://nohost'
} else {
@@ -13,7 +13,7 @@ def railsEnvForTask(task, env) {
}
}

def databaseUrlForTask(task) {
def railsEnvForTask(task) {
return task == 'assets:precompile' ? 'production' : 'test'
}