Description of problem: When adding a pipeline via the import flow, user can provide a context dir for the git repository of the application. This context dir is not set in the generated pipeline and therefore the pipeline does not find the application code in the given git repo. Version-Release number of selected component (if applicable): OpenShift Console 4.6 OpenShift Pipeline Operator 1.0 and 1.1 How reproducible: Always Steps to Reproduce: 1. Add the OpenShift Pipeline Operator 2. Import a Git Repository which has the s2i source code not in the root directory of the repo. For example: Git Repo: https://github.com/jerolimov/docker Context path: /nodeinfo Enable the "Add Pipeline" option! 3. Run the new pipeline Actual results: Build fails because it could not find the source code. Expected results: Build runs successfully. Additional info: None
Created attachment 1720923 [details] Pipeline added in import flow do not fails if app is not in the git root directory-1
Created attachment 1720924 [details] Pipeline added in import flow do not fails if app is not in the git root directory-2
Verified on build version: 4.6.0-0.nightly-2020-10-03-051134 Browser version: chrome 84
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4196
Thank you for letting me know that the bug report has been closed with a resolution of ERRATA. I appreciate the link to the advisory for OpenShift Container Platform 4.6 GA Images and will refer to it to find the updated files. If the solution does not work for me, I will open a new bug report. https://www.kmfusa.org/