Skip to content

Commit b85d47a

Browse files
committed
Merge branch 'main' into develop-v2
# Conflicts: # imagetool/pom.xml # installer/pom.xml # pom.xml # tests/pom.xml
2 parents 8867ab7 + 325dea9 commit b85d47a

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

Jenkinsfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ pipeline {
114114
}
115115
failure {
116116
mail to: "${env.WIT_BUILD_NOTIFICATION_EMAIL_TO}", from: '[email protected]',
117-
subject: "WebLogic Image Tool: ${env.JOB_NAME} - Failed",
118-
body: "Job Failed - \"${env.JOB_NAME}\" build: ${env.BUILD_NUMBER}\n\nView the log at:\n ${env.BUILD_URL}\n"
117+
subject: "WebLogic Image Tool: ${env.JOB_NAME} - Failed",
118+
body: "Job Failed - \"${env.JOB_NAME}\" build: ${env.BUILD_NUMBER}\n\nView the log at:\n ${env.BUILD_URL}\n"
119119
}
120120
}
121121
}
@@ -137,9 +137,12 @@ pipeline {
137137
tag 'release-*'
138138
}
139139
steps {
140+
script {
141+
env.TAG_VERSION_NUMBER = env.TAG_NAME.replaceAll('release-','').trim()
142+
}
143+
140144
sh """
141145
echo '${env.GITHUB_API_TOKEN}' | ${GH_TOOL}/bin/gh auth login --with-token
142-
TAG_VERSION_NUMBER=sh("echo ${TAG_NAME} | sed 's/release-//'"), returnStdout: true).trim(),
143146
${GH_TOOL}/bin/gh release create ${TAG_NAME} \
144147
--draft \
145148
--generate-notes \
@@ -149,7 +152,7 @@ pipeline {
149152
"""
150153
}
151154
}
152-
}
155+
}
153156
}
154157

155158
void runSonarScanner() {
@@ -165,7 +168,7 @@ void runSonarScanner() {
165168
-Dsonar.pullrequest.branch=${env.CHANGE_BRANCH} \
166169
-Dsonar.pullrequest.base=${env.CHANGE_TARGET}"
167170
} else {
168-
sh "mvn -B sonar:sonar \
171+
sh "mvn -B sonar:sonar \
169172
-Dsonar.projectKey=${org}_${repo} \
170173
-Dsonar.branch.name=${env.BRANCH_NAME}"
171174
}

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<dependency>
8686
<groupId>org.jetbrains</groupId>
8787
<artifactId>annotations</artifactId>
88-
<version>24.0.0</version>
88+
<version>24.0.1</version>
8989
</dependency>
9090
<dependency>
9191
<groupId>org.yaml</groupId>
@@ -155,7 +155,7 @@
155155
<plugin>
156156
<groupId>org.apache.maven.plugins</groupId>
157157
<artifactId>maven-failsafe-plugin</artifactId>
158-
<version>2.22.2</version>
158+
<version>3.0.0</version>
159159
<configuration>
160160
<groups>${test.groups}</groups>
161161
</configuration>
@@ -241,14 +241,14 @@
241241
<dependency>
242242
<groupId>com.puppycrawl.tools</groupId>
243243
<artifactId>checkstyle</artifactId>
244-
<version>10.8.0</version>
244+
<version>10.8.1</version>
245245
</dependency>
246246
</dependencies>
247247
</plugin>
248248
<plugin>
249249
<groupId>org.apache.maven.plugins</groupId>
250250
<artifactId>maven-surefire-plugin</artifactId>
251-
<version>2.22.2</version>
251+
<version>3.0.0</version>
252252
<configuration>
253253
<groups>unit</groups>
254254
<excludedGroups>failing</excludedGroups>

0 commit comments

Comments
 (0)