Skip to content

Commit 398d467

Browse files
committed
[I/Y/P-Build] Remove unnecessary 'unset' of empty environment variables
1 parent 6c510b0 commit 398d467

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

JenkinsJobs/Builds/build.jenkinsfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,6 @@ spec:
196196
steps {
197197
dir("${CJE_ROOT}/mbscripts") {
198198
sh '''
199-
unset JAVA_TOOL_OPTIONS
200-
unset _JAVA_OPTIONS
201199
./mb220_buildSdkPatch.sh $CJE_ROOT/buildproperties.shsource 2>&1 | tee $logDir/mb220_buildSdkPatch.sh.log
202200
if [[ ${PIPESTATUS[0]} -ne 0 ]]
203201
then
@@ -248,8 +246,6 @@ spec:
248246
steps {
249247
dir("${CJE_ROOT}/mbscripts") {
250248
sh '''
251-
unset JAVA_TOOL_OPTIONS
252-
unset _JAVA_OPTIONS
253249
./mb500_createRepoReports.sh $CJE_ROOT/buildproperties.shsource 2>&1 | tee $logDir/mb500_createRepoReports.sh.log
254250
if [[ ${PIPESTATUS[0]} -ne 0 ]]
255251
then
@@ -264,8 +260,6 @@ spec:
264260
steps {
265261
dir("${CJE_ROOT}/mbscripts") {
266262
sh '''
267-
unset JAVA_TOOL_OPTIONS
268-
unset _JAVA_OPTIONS
269263
./mb510_createApiToolsReports.sh $CJE_ROOT/buildproperties.shsource 2>&1 | tee $logDir/mb510_createApiToolsReports.sh.log
270264
if [[ ${PIPESTATUS[0]} -ne 0 ]]
271265
then

JenkinsJobs/YBuilds/P_build.groovy

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,6 @@ spec:
171171
container('jnlp') {
172172
sh \'\'\'
173173
cd ${WORKSPACE}/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/mbscripts
174-
unset JAVA_TOOL_OPTIONS
175-
unset _JAVA_OPTIONS
176174
./mb220_buildSdkPatch.sh $CJE_ROOT/buildproperties.shsource 2>&1 | tee $logDir/mb220_buildSdkPatch.sh.log
177175
if [[ ${PIPESTATUS[0]} -ne 0 ]]
178176
then

0 commit comments

Comments
 (0)