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

Error running Postman

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • build-line-plugin
    • None

      Hi,

      I installed Jenkins today.  Initially I got an issue on admin password as the folder itself is not created (C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins). However, I was able to get the password by following this:

      https://stackoverflow.com/questions/48611411/initialadminpassword-file-is-not-created-in-jenkins-folder-in-windows-10-os

       

      However, when I tried to create postman integration, I got this error on build

       
      Started by user
      lRunning as SYSTEM Building in workspace C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\PostMan [PostMan] $ sh -xe C:\WINDOWS\TEMP\jenkins6417660071263368825.sh The system cannot find the file specified FATAL: command execution failed java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) Caused: java.io.IOException: Cannot run program "sh" (in directory "C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\PostMan"): CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at hudson.Proc$LocalProc.<init>(Proc.java:253) at hudson.Proc$LocalProc.<init>(Proc.java:222) at hudson.Launcher$LocalLauncher.launch(Launcher.java:996) at hudson.Launcher$ProcStarter.start(Launcher.java:508) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:144) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:21) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:808) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:164) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:516) at hudson.model.Run.execute(Run.java:1911) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:100) at hudson.model.Executor.run(Executor.java:433) Build step 'Execute shell' marked build as failure Finished: FAILURE

       

      I install jenkins using local account. I tried to uninstall and reinstall but it is the same thing.

       

      Any idea?

            Unassigned Unassigned
            marializ Liezett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: