File tree Expand file tree Collapse file tree 2 files changed +24
-47
lines changed
Expand file tree Collapse file tree 2 files changed +24
-47
lines changed Original file line number Diff line number Diff 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'
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export RPMDIR=${BASE_BIN_DIR}/rpm${RELEASELINE}
1212# where to put repository index and other web contents
1313export BASE_PKG_DIR =/var/www/pkg.jenkins.io.staging
1414export 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}
1616export DEB_WEBDIR =${BASE_PKG_DIR}/debian${RELEASELINE}
1717
1818# URL to the aforementioned webdir.
You can’t perform that action at this time.
0 commit comments