Skip to content

Commit

Permalink
Merge branch 'master' into helpdesk3887-annotate-gh-release
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve authored Feb 9, 2024
2 parents 102d3c7 + 8583c1c commit 1ecd68d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.42.0</version>
<version>2.43.0</version>
<configuration>
<groovy>
<includes>
Expand Down
8 changes: 6 additions & 2 deletions vars/terraform.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,12 @@ def call(userConfig = [:]) {
sh makeCliCmd + ' validate'
}
if (finalConfig.runCommonTests) {
stage('✅ Commons Test Terraform Project') {
sh makeCliCmd + ' common-tests'
final String commonTestsFileName = 'common-tests.log'
withEnv(["COMMON_TESTS_FILE_NAME=${commonTestsFileName}",]) {
stage('✅ Commons Test Terraform Project') {
sh makeCliCmd + ' common-tests'
archiveArtifacts commonTestsFileName
}
}
}
if (finalConfig.runTests) {
Expand Down

0 comments on commit 1ecd68d

Please sign in to comment.