2 Replies Latest reply: Apr 19, 2017 9:44 AM by Johan Asplund RSS

    Git pull from Publisher

    Johan Asplund

      Hi

      I'm trying to do a git pull from Qlikview Publisher as a external application without succeeding.

      I have created a .bat file the runs fine as a Window Scheduled task but running the same file through publisher does not work. A have gotten a simple .bat file to work though.

      The content of the .bat file looks like this:

      CD "[Path to my local git repo]"

      git.exe pull

      The command line statement in the task is simply the path to the .bat file. Although I have tried a lot of different combinations

      Any ideas what I'm doing wrong?

      /Johan

        • Re: Git pull from Publisher
          Paul Routledge

          You say the code does:

           

          CD "[Path to my local git repo]"

           

          But when the .bat file is run by Publisher it is running as your QlikView Distribution Service Account.

           

          So "Path to my local git repo" might not mean anything within the context of that QDS Account.

           

          Also that account might not have access to you git backend service in order to do any pull.

            • Re: Git pull from Publisher
              Johan Asplund

              Hi

              I do not think that is the problem because we have set up Git using the account running QDS. Also the path to the git repo is general so it would be the same for all users logged on to that machine.

              Thanks for your input and I will fiddle around a little just to make sure that it's not what you suggested

               

              Cheers!