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

Jenkins hangs when build asp.net core application

    • 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?

          [JENKINS-36789] Jenkins hangs when build asp.net core application

          Javid Musayev created issue -
          Javid Musayev made changes -
          Description Original: 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*

          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*
          New: 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*

          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?
          Javid Musayev made changes -
          Description Original: 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*

          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?
          New: 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 step.

          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?
          Javid Musayev made changes -
          Description Original: 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 step.

          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?
          New: 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?

          Daniel Beck added a comment -

          This is an issue tracker, not a support site. If you want to file this as a bug, show that it is one, and not e.g. caused by the dotnet.exe being called non-interactively, or by the user Jenkins is running as, etc.

          Daniel Beck added a comment - This is an issue tracker, not a support site. If you want to file this as a bug, show that it is one, and not e.g. caused by the dotnet.exe being called non-interactively, or by the user Jenkins is running as, etc.
          Daniel Beck made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 173528 ] New: JNJira + In-Review [ 199471 ]

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

              Created:
              Updated:
              Resolved: