I am trying to set up a YUM repository containing some RPM packages from our nightly Jenkins build.
The YUM repo resides on the Jenkins server in a repository folder [path to repo]/jenkins-nightly-build/[release name]-repo
. After all the jobs are completed they are placed in the repo. Finally, the repository metadata is updated.
However, when I try to update another machine, the repository responds with
[Errno 14] HTTP Error 403 - Forbidden
.
Here is the .repo file that resides on the client machine:
[jenkins-nightly]
name=jenkins-nightly
baseurl=http://[hostname]/jenkins-nightly-build/[release name]-repo
gpgcheck=0
enabled=1
As you can see, the .repo file is pretty straight forward. I have tried yum clean all
, and yum repolist
does print the appropriate repo. All of the expected packages are printed and downloads are attempted when yum update
is called. For some reason, the client does not have any access.
Is there some other configuration file I need to edit? Could Apache, which was installed for Jenkins, be interfering with the YUM repository? Please help!!! Let me know if any more information is needed.