- Kubernetes:A Complete DevOps Cookbook
- Murat Karslioglu
- 91字
- 2025-04-04 13:20:39
Importing an application
Let's perform the following steps to import an existing application into the Jenkins X environment:
- Clone or use an existing application. As an example, we will create a clone of the hello-world example:
$ mkdir import && cd import
$ git clone https://github.com/k8sdevopscookbook/hello-world.git
- Remove the Git files from the cloned directory. This will remove the Git history from the directory:
$ cd hello-world & sudo rm -r .git/
- Run the following command in the folder to import the source code into Jenkins X:
$ jx import