Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59225

jenkin job stuck at clone the repository on the batch script

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • None
    • Jenkins master on centos, jenkins slaves are windows 7, builds are execute from windows 7

      Hi,

       

      I'm running a jenkins job in which I added the batch script to perform some steps on windows VM from where builds are executed. previously it was running smoothly and now jenkins job at stuck at cloning repository. 

      git user has full permissions, i can manually clone a repo without issues but when running from the Jenkins so it stuck. 

      I need really help to investigate what things are causing this issue.

      The job is running from Jenkin slave VM which is windows 7 because of the dot net project. 

      Error is :
      C:\Git>IF EXIST ptlIDSG3MobileCoreApi RMDIR ptlIDSG3MobileCoreApi /S /Q

      C:\Git>git clone https://myofficial repo
       
      Cloning into 'ptlIDSG3MobileApi'...
      fatal: InvalidOperationException encountered.
      Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
       

            markewaite Mark Waite
            rizwannadeem1989 rizwan nadeem
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: