Este contenido no está disponible en el idioma seleccionado.

Chapter 7. Known issues


There is currently a known issue when starting workspaces that clone private Git repositories. After successfully cloning and reading the remote Git repository, the project-clone container fails to checkout a specified Git revision, for example a feature branch or PR branch. As a result of this error, the remote Git repository is cloned into a temporary directory named project-clone-<random_characters>.

Note

In OpenShift Dev Spaces, users have two ways to specify a Git revision for a new workspace:

  • By adding a checkoutFrom section in the devfile.
  • By visiting or entering the URL of a feature branch or pull request in the browser or in the OpenShift Dev Spaces dashboard.

Workaround

  • If you are using a checkoutFrom section in the devfile, then do as follows:

    1. Before starting a new workspace, remove or comment out the checkoutFrom section from the devfile.
    2. After the repository is cloned, switch to the desired revision.
  • If you are using the URL of a feature branch or pull request to start a new workspace, then do as follows:

    1. When starting a new workspace, enter the URL of the repository without any branch syntax.
    2. After the repository is cloned, switch to the desired revision.

Additional resources

7.2. Java Gradle sample fails in restricted environments

Currently, there is a known issue with the Java Gradle sample in restricted environments. Running the 1-build command to build an application might result in the FAILURE: Build failed with an exception error and failure to load a native library or not resolving a plug-in artifact in plug-in repositories. There is currently no workaround for this issue.

Additional resources

Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat