Skip to content

Commit

Permalink
Use existing behaviour by default, and opt in to bringing up mailhog
Browse files Browse the repository at this point in the history
  • Loading branch information
kierenevans committed Apr 9, 2021
1 parent 3da20aa commit d50c9d9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/_base/application/overlay/Jenkinsfile.twig
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ pipeline {
{% if @('jenkins.tests.isolated') %}
stage('Build') {
steps {
{% if @('jenkins.tests.use_global_services') %}
sh 'ws install'
{% else %}
sh 'ws enable'
{% endif %}
milestone(30)
}
}
Expand Down
1 change: 1 addition & 0 deletions src/_base/harness/attributes/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ attributes.default:
enabled: true
tests:
isolated: true
use_global_services: false

pipeline:
base:
Expand Down
4 changes: 4 additions & 0 deletions src/drupal8/application/overlay/Jenkinsfile.twig
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ pipeline {
{% if @('jenkins.tests.isolated') %}
stage('Build') {
steps {
{% if @('jenkins.tests.use_global_services') %}
sh 'ws install'
{% else %}
sh 'ws enable'
{% endif %}
sh 'ws exec app composer:development_dependencies'
milestone(30)
}
Expand Down

0 comments on commit d50c9d9

Please sign in to comment.