Open jayaanan-netapp opened 4 years ago
Try moving the jenkins-x.yml
file into a new directory outside the file structure for the course videos and then running jx boot
from there.
Sometimes Jenkins X can get confused with the nested Git repositories resulting from having a Git repository from the course videos and a Git repository from checking out the jx boot repo.
Hands-On-Continuous-Integration-and-Delivery-with-Jenkins-X-and-Kubernetes-master\section-1\video-1.6>jx boot -r jx-requirements.yml Creating boot config with defaults, as not in an existing boot directory with a git repository. No Jenkins X pipeline file jenkins-x.yml or no jx boot requirements file jx-requirements.yml found. You are not running this command from inside a Jenkins X Boot git clone To continue we will clone https://github.com/jenkins-x/jenkins-x-boot-config.git @ master to jenkins-x-boot-config ? Do you want to clone the Jenkins X Boot Git repository? Yes
Cloning https://github.com/jenkins-x/jenkins-x-boot-config.git @ master to jenkins-x-boot-config fetching branch master Attempting to resolve version for boot config https://github.com/jenkins-x/jenkins-x-boot-config.git from https://github.com/jenkins-x/jenkins-x-versions.git Current HEAD v1.0.84 in C:\Users\jayaanan\Hands-On-Continuous-Integration-and-Delivery-with-Jenkins-X-and-Kubernetes-master\section-1\video-1.6\jenkins-x-boot-config is not an ancestor of v1.0.83, the boot config version from the version stream. Proceeding with current HEAD. Booting Jenkins X WARNING: failed to load ConfigMap jenkins-x-docker-registry in namespace jx: failed to get configmap jenkins-x-docker-registry in namespace jx, configmaps "jenkins-x-docker-registry" not found WARNING: failed to load ConfigMap jenkins-x-docker-registry in namespace jx: failed to get configmap jenkins-x-docker-registry in namespace jx, configmaps "jenkins-x-docker-registry" not found
STEP: validate-git command: /bin/sh -c jx step git validate in dir: C:\Users\jayaanan\Hands-On-Continuous-Integration-and-Delivery-with-Jenkins-X-and-Kubernetes-master\section-1\video-1.6\jenkins-x-boot-config\workspace\source\workspace\source\env
error: failed to interpret pipeline file C:\Users\jayaanan\Hands-On-Continuous-Integration-and-Delivery-with-Jenkins-X-and-Kubernetes-master\section-1\video-1.6\jenkins-x-boot-config\jenkins-x.yml: failed to run '/bin/sh -c jx step git validate' command in directory 'C:\Users\jayaanan\Hands-On-Continuous-Integration-and-Delivery-with-Jenkins-X-and-Kubernetes-master\section-1\video-1.6\jenkins-x-boot-config\workspace\source\workspace\source\env', output: ''