Skip to content

Commit c861b2e

Browse files
committed
wip: enable RPM packaging
Signed-off-by: Damien Duportal <[email protected]>
1 parent 4994360 commit c861b2e

File tree

2 files changed

+24
-47
lines changed

2 files changed

+24
-47
lines changed

Jenkinsfile.d/core/package

Lines changed: 23 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -198,52 +198,29 @@ pipeline {
198198
}
199199
}
200200
}
201-
// stage('Redhat') {
202-
// stages {
203-
// stage('Build') {
204-
// steps {
205-
// sh '''
206-
// ./utils/release.bash --packaging rpm
207-
// '''
208-
// dir (WORKING_DIRECTORY) {
209-
// archiveArtifacts artifacts: "target/rpm/*.rpm"
210-
// }
211-
// }
212-
// }
213-
// stage('Publish') {
214-
// steps {
215-
// sshagent(['pkgserver']) {
216-
// sh '''
217-
// ./utils/release.bash --packaging rpm.publish
218-
// '''
219-
// }
220-
// }
221-
// }
222-
// }
223-
// }
224-
// stage('Suse') {
225-
// stages {
226-
// stage('Build') {
227-
// steps {
228-
// sh '''
229-
// ./utils/release.bash --packaging suse
230-
// '''
231-
// dir (WORKING_DIRECTORY) {
232-
// archiveArtifacts artifacts: "target/suse/*.rpm"
233-
// }
234-
// }
235-
// }
236-
// stage('Publish') {
237-
// steps {
238-
// sshagent(['pkgserver']) {
239-
// sh '''
240-
// ./utils/release.bash --packaging suse.publish
241-
// '''
242-
// }
243-
// }
244-
// }
245-
// }
246-
// }
201+
stage('RPM') {
202+
stages {
203+
stage('Build'){
204+
steps {
205+
sh '''
206+
./utils/release.bash --packaging rpm
207+
'''
208+
dir (WORKING_DIRECTORY){
209+
archiveArtifacts artifacts: "target/rpm/*.rpm"
210+
}
211+
}
212+
}
213+
stage('Publish'){
214+
steps {
215+
sshagent(['pkgserver']) {
216+
sh '''
217+
./utils/release.bash --packaging rpm.publish
218+
'''
219+
}
220+
}
221+
}
222+
}
223+
}
247224
// stage('Windows') {
248225
// when {
249226
// environment name: 'WINDOWS_PACKAGING_ENABLED', value: 'true'

env/package.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export RPMDIR=${BASE_BIN_DIR}/rpm${RELEASELINE}
1212
# where to put repository index and other web contents
1313
export BASE_PKG_DIR=/var/www/pkg.jenkins.io.staging
1414
export RPM_WEBDIR=${BASE_PKG_DIR}/rpm${RELEASELINE}
15-
# export MSI_WEBDIR=${BASE_PKG_DIR}/windows${RELEASELINE}
15+
export MSI_WEBDIR=${BASE_PKG_DIR}/windows${RELEASELINE}
1616
export DEB_WEBDIR=${BASE_PKG_DIR}/debian${RELEASELINE}
1717

1818
# URL to the aforementioned webdir.

0 commit comments

Comments
 (0)