Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesread committed Oct 26, 2017
1 parent 2cb5cee commit b799d96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ def prepareEnv() {
def buildRpm(dist) {
prepareEnv()

sh 'unzip -jo SOURCES/upsilon-web.zip "upsilon-web-*/setup/upsilon-web.spec" "upsilon-web-*/.buildid.rpmmacro" -d SPECS/'
sh 'unzip -jo SOURCES/upsilon-database-sql.zip "upsilon-database-sql-*/setup/upsilon-database-sql.spec" "upsilon-database-sql-*/.buildid.rpmmacro" -d SPECS/'
sh "find ${env.WORKSPACE}"

sh "rpmbuild -ba SPECS/upsilon-web.spec --define '_topdir ${env.WORKSPACE}' --define 'dist ${dist}'"
sh "rpmbuild -ba SPECS/upsilon-database-sql.spec --define '_topdir ${env.WORKSPACE}' --define 'dist ${dist}'"

archive 'RPMS/noarch/*.rpm'
stash includes: "RPMS/noarch/*.rpm", name: dist
Expand Down

0 comments on commit b799d96

Please sign in to comment.