Skip to content

Commit

Permalink
add stacktrace to diagnose errors in build
Browse files Browse the repository at this point in the history
  • Loading branch information
dotcmsbuild committed Feb 2, 2023
1 parent 06d571f commit 545d762
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-core/src/core-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const COMMANDS: Commands = {
gradle: [
{
cmd: gradleCmd,
args: ['createDistPrep'],
args: ['createDistPrep', '--stacktrace'],
workingDir: dotCmsRoot
}
],
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/run-integration-tests/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ exports.COMMANDS = {
gradle: [
{
cmd: './gradlew',
args: ['integrationTest', `-PdatabaseType=${dbType}`],
args: ['integrationTest', `-PdatabaseType=${dbType}`, '--stacktrace'],
workingDir: dotCmsRoot
}
],
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/run-integration-tests/src/integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const COMMANDS: Commands = {
gradle: [
{
cmd: './gradlew',
args: ['integrationTest', `-PdatabaseType=${dbType}`],
args: ['integrationTest', `-PdatabaseType=${dbType}`, '--stacktrace'],
workingDir: dotCmsRoot
}
],
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/run-unit-tests/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const reportDir = `${dotCmsRoot}/build/reports/tests/test`;
exports.COMMANDS = {
gradle: {
cmd: './gradlew',
args: ['test'],
args: ['test', '--stacktrace'],
workingDir: dotCmsRoot,
outputDir: outputDir,
reportDir: reportDir
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/run-unit-tests/src/unit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export interface Commands {
export const COMMANDS: Commands = {
gradle: {
cmd: './gradlew',
args: ['test'],
args: ['test', '--stacktrace'],
workingDir: dotCmsRoot,
outputDir: outputDir,
reportDir: reportDir
Expand Down

0 comments on commit 545d762

Please sign in to comment.