Skip to content

Commit

Permalink
[BUGFIX] Include composer dumpautoload in Test Plan Jobs
Browse files Browse the repository at this point in the history
Resolves: #91349
Releases: master, 9.5
Change-Id: I60ffcb35a82d7e890590f836dcfd9e0739c8db03
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64362
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
  • Loading branch information
maddy2101 authored and andreaskienast committed May 10, 2020
1 parent feb1d09 commit 10f755d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Build/bamboo/src/main/java/core/AbstractCoreSpec.java
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,8 @@ Task getTaskComposerInstall(String requirementIdentifier) {
.inlineBody(
this.getScriptTaskBashInlineBody() +
this.getScriptTaskComposer(requirementIdentifier) +
"composer install --no-progress --no-suggest --no-interaction"
"composer install --no-progress --no-suggest --no-interaction -n\n" +
"composer dumpautoload"
)
.environmentVariables(this.composerRootVersionEnvironment);
}
Expand All @@ -1530,7 +1531,8 @@ Task getTaskComposerUpdateMax(String requirementIdentifier) {
this.getScriptTaskBashInlineBody() +
this.getScriptTaskComposer(requirementIdentifier) +
"composer install -n\n" +
"composer update --with-dependencies --no-progress -n"
"composer update --with-dependencies --no-progress -n\n" +
"composer dumpautoload"
)
.environmentVariables(this.composerRootVersionEnvironment);
}
Expand All @@ -1552,7 +1554,8 @@ Task getTaskComposerUpdateMin(String requirementIdentifier) {
this.getScriptTaskBashInlineBody() +
this.getScriptTaskComposer(requirementIdentifier) +
"composer install -n\n" +
"composer update --prefer-lowest --no-progress -n"
"composer update --prefer-lowest --no-progress -n\n" +
"composer dumpautoload"
)
.environmentVariables(this.composerRootVersionEnvironment);
}
Expand Down

0 comments on commit 10f755d

Please sign in to comment.