Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-1690

ensure we're checking for new files added when syncing

XMLWordPrintable

    • False
    • False
    • Undefined

      git diff --name-only will only report if EXISTING files have changed, but will be nullstring for new files... we need to use git status -s to get status of new files added.

      Looks like lots of jenkinsfiles use only git diff to check if there's anything to commit... and so – for the case of jwtproxy and possibly others – we're failing to add new files.

      Fix for jwtproxy sync should be this:

      https://gitlab.cee.redhat.com/codeready-workspaces/crw-jenkins/-/merge_requests/412

      But we should verify all builds are also syncing all new files too.

              kcrane@redhat.com Kirk Crane
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: