URL parameter for the devfile file path
When you visit a URL for starting a new workspace, Che searches the root directory of the linked Git repository for a devfile with the file name .devfile.yaml
or devfile.yaml
. The file path of the devfile in the linked Git repository must follow this path convention.
In some situations, you might need to specify a different, unconventional file path for the devfile in the linked Git repository.
The URL parameter for specifying an unconventional file path of the devfile is devfilePath=<relative_file_path>
:
https://<che_fqdn>#<git_repository_url>?devfilePath=<relative_file_path> (1)
1 | <relative_file_path> is an unconventional file path of the devfile in the linked Git repository. |