提交 4745dbc0 编写于 作者: K Kohsuke Kawaguchi

Fixed the wrong URL in the package repo definitions (for RC, LTS, etc.)

上级 da13c760
......@@ -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
[jenkins]
name=Jenkins
baseurl=http://pkg.jenkins-ci.org/redhat/
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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册