Skip to content

Commit

Permalink
[Build] Unify tool-installation and PGP-settings in I-/Y-builds
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Dec 19, 2024
1 parent 383d5fb commit f8fb035
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions JenkinsJobs/Builds/I_build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ spec:
}
tools {
jdk 'temurin-jdk21-latest'
maven 'apache-maven-latest'
}
environment {
MAVEN_OPTS = "-Xmx6G"
CJE_ROOT = "${WORKSPACE}/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production"
PATH = "$PATH:/opt/tools/apache-maven/latest/bin"
logDir = "$CJE_ROOT/buildlogs"
}
stages {
Expand Down Expand Up @@ -185,7 +185,6 @@ spec:
echo "Failed in Download reference repo for repo reports stage"
exit 1
fi
cd ${WORKSPACE}
\'\'\'
}
}
Expand Down
5 changes: 3 additions & 2 deletions JenkinsJobs/YBuilds/Y_build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ spec:
}
tools {
jdk 'openjdk-jdk17-latest'
maven 'apache-maven-latest'
}
environment {
MAVEN_OPTS = "-Xmx6G"
CJE_ROOT = "${WORKSPACE}/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production"
PATH = "$PATH:/opt/tools/apache-maven/latest/bin"
logDir = "$CJE_ROOT/buildlogs"
}
Expand Down Expand Up @@ -257,7 +257,8 @@ spec:
}
stage('Aggregator maven build'){
environment {
KEYRING_PASSPHRASE = credentials('secret-subkeys-releng.acs-passphrase')
KEYRING = credentials('secret-subkeys-releng.asc')
MAVEN_GPG_PASSPHRASE = credentials('secret-subkeys-releng.acs-passphrase')
}
steps {
container('jnlp') {
Expand Down

0 comments on commit f8fb035

Please sign in to comment.