mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-11 11:06:25 +00:00
Fixed the wrong URL in the package repo definitions (for RC, LTS, etc.)
This commit is contained in:
1 parent
da13c76057
commit
4745dbc00f
5 files changed
+9
-5
No files matched your search
@@ -2,6 +2,6 @@
|
||||
name=jenkins
|
||||
enabled=1
|
||||
autorefresh=0
|
||||
baseurl=http://pkg.jenkins-ci.org/opensuse/
|
||||
baseurl=@URL@
|
||||
type=rpm-md
|
||||
keeppackages=0
|
||||
@@ -18,5 +18,7 @@ echo Version is $version
|
||||
rm -rf BUILD RPMS SRPMS tmp || true
|
||||
mkdir -p BUILD RPMS SRPMS
|
||||
|
||||
cat SOURCES/jenkins.repo.in | sed -e "s#@URL@#${SUSE_URL}/#g" > SOURCES/jenkins.repo
|
||||
|
||||
# real action happens here
|
||||
rpmbuild -ba --define="_topdir $PWD" --define="_tmppath $PWD/tmp" --define="ver $version" SPECS/jenkins.spec
|
||||
@@ -1,4 +0,0 @@
|
||||
[jenkins]
|
||||
name=Jenkins
|
||||
baseurl=http://pkg.jenkins-ci.org/redhat/
|
||||
gpgcheck=1
|
||||
@@ -0,0 +1,4 @@
|
||||
[jenkins]
|
||||
name=Jenkins
|
||||
baseurl=@URL@
|
||||
gpgcheck=1
|
||||
@@ -20,5 +20,7 @@ echo Version is $version
|
||||
rm -rf BUILD RPMS SRPMS tmp || true
|
||||
mkdir -p BUILD RPMS SRPMS
|
||||
|
||||
cat SOURCES/jenkins.repo.in | sed -e "s#@URL@#${RPM_URL}/#g" > SOURCES/jenkins.repo
|
||||
|
||||
# real action happens here
|
||||
rpmbuild -ba --define="_topdir $PWD" --define="_tmppath $PWD/tmp" --define="ver $version" SPECS/jenkins.spec
|
||||
Reference in new issue
Block a user