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

Jenkins hangs when build asp.net core application

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • core
    • OS: Windows Server 2008 R2 Standard (64-bit)
      Jenkins 2.14
      Jenkins installed as Windows Service and run under Local System account

      We have asp.net core web application and we use Jenkins as CI tool. The build step for our project in Jenkins consists of one step as 'Execute Windows batch command' with command dotnet.exe build "C:\Program Files (x86)\Jenkins\workspace\CustomerPortal Develop\src\CustomerPortal" --configuration Release --no-dependencies

      It hangs on build.

      Notice that, if i run this command via Command Prompt (cmd.exe) i get output:
      *Project CustomerPortal (.NETCoreApp,Version=v1.0) will be compiled because inputs were modified
      Compiling CustomerPortal for .NETCoreApp,Version=v1.0 Compilation succeeded.
      0 Warning(s)
      0 Error(s)
      Time elapsed 00:00:03.7759054*

      Any ideas?

            Unassigned Unassigned
            javid Javid Musayev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: