Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build does error #1

Open
goern opened this issue Jun 15, 2016 · 2 comments
Open

build does error #1

goern opened this issue Jun 15, 2016 · 2 comments

Comments

@goern
Copy link

goern commented Jun 15, 2016

Hey,
when I create a slave from your template, the build errors out with:

F0615 09:35:47.384990       1 builder.go:204] Error: build error: The command '/bin/sh -c yum clean all &&     yum-config-manager --disable rhel* 1>/dev/null &&     yum-config-manager --enable rhel-7-server-rpms &&     yum-config-manager --enable rhel-7-server-ose-3.2-rpms &&     export INSTALL_PKGS="nss_wrapper java-1.8.0-openjdk-headless         java-1.8.0-openjdk-devel nss_wrapper gettext tar git" &&     yum clean all &&     yum install -y --setopt=tsflags=nodocs install $INSTALL_PKGS &&     rpm -V $INSTALL_PKGS &&     yum clean all &&     mkdir -p /var/lib/jenkins &&     chown -R 1001:0 /var/lib/jenkins &&     chmod -R g+w /var/lib/jenkins' returned a non-zero code: 2
@carlpelletier
Copy link

build does error with There are no enabled repos...

There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable
F0923 09:25:10.622807 1 builder.go:204] Error: build error: The command '/bin/sh -c yum clean all && yum-config-manager --disable rhel* 1>/dev/null && yum-config-manager --enable rhel-7-server-rpms && yum-config-manager --enable rhel-7-server-ose-3.2-rpms && export INSTALL_PKGS="nss_wrapper java-1.8.0-openjdk-headless java-1.8.0-openjdk-devel nss_wrapper gettext tar git" && yum clean all && yum install -y --setopt=tsflags=nodocs install $INSTALL_PKGS && rpm -V $INSTALL_PKGS && yum clean all && mkdir -p /var/lib/jenkins && chown -R 1001:0 /var/lib/jenkins && chmod -R g+w /var/lib/jenkins' returned a non-zero code: 1

@MohamedElso
Copy link

@siamaksade same here, build error (jdk8-jenkins-slave):

package nss_wrapper is not installed

  | .M....... g /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-0.b01.el7_4.x86_64/jre/lib/amd64/server/classes.jsa
  | package nss_wrapper is not installed
  | Removing intermediate container c5f460673423
  | error: build error: The command '/bin/sh -c yum clean all && yum-config-manager --disable rhel* 1>/dev/null && yum-config-manager --enable rhel-7-server-rpms && yum-config-manager --enable rhel-7-server-ose-3.2-rpms && export INSTALL_PKGS="nss_wrapper java-1.8.0-openjdk-headless java-1.8.0-openjdk-devel nss_wrapper gettext tar git" && yum clean all && yum install -y --setopt=tsflags=nodocs install $INSTALL_PKGS && rpm -V $INSTALL_PKGS && yum clean all && mkdir -p /var/lib/jenkins && chown -R 1001:0 /var/lib/jenkins && chmod -R g+w /var/lib/jenkins' returned a non-zero code: 3

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants