Skip to content

Commit 0247231

Browse files
authored
Exclude Jmods from PKG build (#1212)
1 parent 450982b commit 0247231

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkgbuild/Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ pipeline {
1212
string(name: 'UPSTREAM_JOB_NUMBER', description: 'e.g. 123')
1313
string(name: 'CERTIFICATE', description: 'Certificate name to sign the installer')
1414
string(name: 'FILTER', defaultValue: '**/OpenJDK*_mac_*.tar.gz', description: 'e.g. **/OpenJDK*_mac_*.tar.gz')
15+
string(name: 'EXCLUDES', defaultValue: '**/OpenJDK*jmods*_mac_*.tar.gz', description: 'Binary Excludes from pkgbuild e.g. OpenJDK*jmods*_mac_*.tar.gz')
1516
string(name: 'MAJOR_VERSION', description: 'e.g. 8')
1617
string(name: 'FULL_VERSION', description: 'e.g 1.8.0_192 or 11+28')
1718
}
@@ -25,7 +26,7 @@ pipeline {
2526
}
2627
stage('Copy Artifacts') {
2728
steps {
28-
copyArtifacts filter: '${FILTER}', fingerprintArtifacts: true, projectName: '${UPSTREAM_JOB_NAME}', selector: specific('${UPSTREAM_JOB_NUMBER}')
29+
copyArtifacts filter: '${FILTER}', excludes: '${EXCLUDES}', fingerprintArtifacts: true, projectName: '${UPSTREAM_JOB_NAME}', selector: specific('${UPSTREAM_JOB_NUMBER}')
2930
}
3031
}
3132
stage('Build Installer') {

0 commit comments

Comments
 (0)