-
Bug
-
Resolution: Fixed
-
Major
-
FROM jenkins/jenkins:2.194
1. jenkins dockerfile version
- jenkins dockerfile version: jenkins/jenkins:2.194
root >> cat /opt/dockerfile/jenkins/02/jenkins-master.Dockerfile
FROM jenkins/jenkins:2.194
MAINTAINER tiandong19860806@126.com
USER root
ENV MAVEN_HOME /usr/local/maven
ENV JAVA_HOME /usr/local/java
ENV M2=/usr/local/maven/repository
ENV CLASSPATH .:$JAVA_HOME/lib:$M2_HOME/lib
ENV PATH $MAVEN_HOME/bin:$JAVA_HOME/bin:$PATH
RUN mkdir -p /usr/local/java
RUN mkdir -p /usr/local/maven/repository
COPY soft/apache-maven-3.5.4/* /usr/local/
COPY soft/jre1.8.0_212/* /usr/local/java/
2. apply in K8S is success.
root >> ls -al /opt/dockerfile/jenkins/01
root >> kubectl apply -f /opt/dockerfile/jenkins/01
root >> kubectl get all -n kube-ops -o wide | grep jenkins
3. Open in jenkins website, but install jenkins feature happen issue. - Whether I choose recommendation or customization, the same error is prompted during feature installation.
input the dockerfile created init password as below:
finnally, the jenkins website return same error as below:No such plugin: cloudbees-folder