Select '(Default)' JDK in the job config.

If that setting is not available, configure a second JDK in the global 
configuration of Jenkins. Then you should be able to select the '(Default)' as 
JDK for the job.

On 14.08.2013, at 13:48, Keith Ouellette <keith.ouellet...@gmail.com> wrote:

> So in the windows batch command window I just need to enter the MSBuild 
> command to build the project? I tried that, but the console output looks like 
> it keeps trying to install JDK (which I installed early on in this process). 
> Here is the output:
>  
> Started by user anonymous
> 
> Building remotely on 
> windows-build
>  in workspace c:\jenkins\workspace\Windows-test
> Installing c:\jenkins\tools\hudson.model.JDK\Jenkins-JDK\jdk.exe
> [Jenkins-JDK] $ c:\jenkins\tools\hudson.model.JDK\Jenkins-JDK\jdk.exe /s /v 
> /qn /L "c:\jenkins\tools\hudson.model.JDK\Jenkins-JDK\jdk.exe.install.log" 
> REBOOT=ReallySuppress 
> INSTALLDIR="c:\jenkins\tools\hudson.model.JDK\Jenkins-JDK"
> Failed to install JDK. Exit code=1,603
> === Logging started: 8/13/2013  21:36:31 ===
> Action start 21:36:31: INSTALL.
> Action start 21:36:31: AppSearch.
> Action ended 21:36:31: AppSearch. Return value 1.
> Action start 21:36:31: LaunchConditions.
> Action ended 21:36:31: LaunchConditions. Return value 1.
> Action start 21:36:31: FindRelatedProducts.
> Action ended 21:36:31: FindRelatedProducts. Return value 0.
> Action start 21:36:31: ValidateProductID.
> Action ended 21:36:31: ValidateProductID. Return value 1.
> Action start 21:36:31: setUserProfileNT.
> Action ended 21:36:31: setUserProfileNT. Return value 1.
> Action start 21:36:31: setAllUsersProfile2K.
> Action ended 21:36:31: setAllUsersProfile2K. Return value 1.
> Action start 21:36:31: CostInitialize.
> Action ended 21:36:31: CostInitialize. Return value 1.
> Action start 21:36:31: FileCost.
> Action ended 21:36:31: FileCost. Return value 1.
> Action start 21:36:31: IsolateComponents.
> Action ended 21:36:31: IsolateComponents. Return value 1.
> Action start 21:36:31: CostFinalize.
> Action ended 21:36:31: CostFinalize. Return value 1.
> Action start 21:36:31: SetARPReadme.
> Action ended 21:36:31: SetARPReadme. Return value 1.
> Action start 21:36:31: SetODBCFolders.
> Action ended 21:36:31: SetODBCFolders. Return value 1.
> Action start 21:36:31: MigrateFeatureStates.
> Action ended 21:36:31: MigrateFeatureStates. Return value 0.
> Action start 21:36:31: InstallValidate.
> Action ended 21:36:31: InstallValidate. Return value 1.
> Action start 21:36:31: RemoveExistingProducts.
> Action ended 21:36:31: RemoveExistingProducts. Return value 0.
> Action start 21:36:31: InstallInitialize.
> Action ended 21:36:31: InstallInitialize. Return value 1.
> Action start 21:36:31: ProcessComponents.
> Action ended 21:36:31: ProcessComponents. Return value 1.
> Action start 21:36:31: UnpublishComponents.
> Action ended 21:36:31: UnpublishComponents. Return value 1.
> Action start 21:36:31: MsiUnpublishAssemblies.
> Action ended 21:36:31: MsiUnpublishAssemblies. Return value 1.
> Action start 21:36:31: UnpublishFeatures.
> Action ended 21:36:31: UnpublishFeatures. Return value 1.
> Action start 21:36:31: StopServices.
> Action ended 21:36:31: StopServices. Return value 1.
> Action start 21:36:31: DeleteServices.
> Action ended 21:36:31: DeleteServices. Return value 1.
> Action start 21:36:31: UnregisterComPlus.
> Action ended 21:36:31: UnregisterComPlus. Return value 1.
> Action start 21:36:31: SelfUnregModules.
> Action ended 21:36:31: SelfUnregModules. Return value 1.
> Action start 21:36:31: UnregisterTypeLibraries.
> Action ended 21:36:31: UnregisterTypeLibraries. Return value 1.
> Action start 21:36:31: RemoveODBC.
> Action ended 21:36:31: RemoveODBC. Return value 1.
> Action start 21:36:31: RemoveRegistryValues.
> Action ended 21:36:31: RemoveRegistryValues. Return value 1.
> Action start 21:36:31: UnregisterClassInfo.
> Action ended 21:36:31: UnregisterClassInfo. Return value 1.
> Action start 21:36:31: UnregisterExtensionInfo.
> Action ended 21:36:31: UnregisterExtensionInfo. Return value 1.
> Action start 21:36:31: UnregisterProgIdInfo.
> Action ended 21:36:31: UnregisterProgIdInfo. Return value 1.
> Action start 21:36:31: UnregisterMIMEInfo.
> Action ended 21:36:31: UnregisterMIMEInfo. Return value 1.
> Action start 21:36:31: RemoveIniValues.
> Action ended 21:36:31: RemoveIniValues. Return value 1.
> Action start 21:36:31: RemoveShortcuts.
> Action ended 21:36:31: RemoveShortcuts. Return value 1.
> Action start 21:36:31: RemoveEnvironmentStrings.
> Action ended 21:36:31: RemoveEnvironmentStrings. Return value 1.
> Action start 21:36:31: RemoveDuplicateFiles.
> Action ended 21:36:31: RemoveDuplicateFiles. Return value 1.
> Action start 21:36:31: RemoveFiles.
> Action ended 21:36:31: RemoveFiles. Return value 1.
> Action start 21:36:31: RemoveFolders.
> Action ended 21:36:31: RemoveFolders. Return value 1.
> Action start 21:36:31: CreateFolders.
> Action ended 21:36:31: CreateFolders. Return value 1.
> Action start 21:36:31: MoveFiles.
> Action ended 21:36:31: MoveFiles. Return value 1.
> Action start 21:36:31: InstallFiles.
> Action ended 21:36:31: InstallFiles. Return value 1.
> Action start 21:36:31: PatchFiles.
> Action ended 21:36:31: PatchFiles. Return value 1.
> Action start 21:36:31: DuplicateFiles.
> Action ended 21:36:31: DuplicateFiles. Return value 1.
> Action start 21:36:31: BindImage.
> Action ended 21:36:31: BindImage. Return value 1.
> Action start 21:36:31: CreateShortcuts.
> Action ended 21:36:31: CreateShortcuts. Return value 1.
> Action start 21:36:31: RegisterClassInfo.
> Action ended 21:36:31: RegisterClassInfo. Return value 1.
> Action start 21:36:31: RegisterExtensionInfo.
> Action ended 21:36:31: RegisterExtensionInfo. Return value 1.
> Action start 21:36:31: RegisterProgIdInfo.
> Action ended 21:36:31: RegisterProgIdInfo. Return value 1.
> Action start 21:36:31: RegisterMIMEInfo.
> Action ended 21:36:31: RegisterMIMEInfo. Return value 1.
> Action start 21:36:31: WriteRegistryValues.
> Action ended 21:36:31: WriteRegistryValues. Return value 1.
> Action start 21:36:31: WriteIniValues.
> Action ended 21:36:31: WriteIniValues. Return value 1.
> Action start 21:36:31: WriteEnvironmentStrings.
> Action ended 21:36:31: WriteEnvironmentStrings. Return value 1.
> Action start 21:36:31: InstallODBC.
> Action ended 21:36:31: InstallODBC. Return value 0.
> Action start 21:36:31: RegisterTypeLibraries.
> Action ended 21:36:31: RegisterTypeLibraries. Return value 1.
> Action start 21:36:31: RegisterComPlus.
> Action ended 21:36:31: RegisterComPlus. Return value 1.
> Action start 21:36:31: InstallServices.
> Action ended 21:36:31: InstallServices. Return value 1.
> Action start 21:36:31: StartServices.
> Action ended 21:36:31: StartServices. Return value 1.
> Action start 21:36:31: SelfRegModules.
> Action ended 21:36:31: SelfRegModules. Return value 1.
> Action start 21:36:31: RegisterUser.
> Action ended 21:36:31: RegisterUser. Return value 0.
> Action start 21:36:31: RegisterProduct.
> Action ended 21:36:31: RegisterProduct. Return value 1.
> Action start 21:36:31: PublishComponents.
> Action ended 21:36:31: PublishComponents. Return value 1.
> Action start 21:36:31: MsiPublishAssemblies.
> Action ended 21:36:31: MsiPublishAssemblies. Return value 1.
> Action start 21:36:31: PublishFeatures.
> Action ended 21:36:31: PublishFeatures. Return value 1.
> Action start 21:36:31: PublishProduct.
> Action ended 21:36:31: PublishProduct. Return value 1.
> Action start 21:36:31: unziptools.
> Action ended 21:36:31: unziptools. Return value 1.
> Action start 21:36:31: preprogress1.
> Action ended 21:36:31: preprogress1. Return value 1.
> Action start 21:36:31: postprogress1.
> Action ended 21:36:31: postprogress1. Return value 1.
> Action start 21:36:31: charsets.
> Action ended 21:36:31: charsets. Return value 1.
> Action start 21:36:31: preprogress2.
> Action ended 21:36:31: preprogress2. Return value 1.
> Action start 21:36:31: postprogress2.
> Action ended 21:36:31: postprogress2. Return value 1.
> Action start 21:36:31: javaws.
> Action ended 21:36:31: javaws. Return value 1.
> Action start 21:36:31: deploy.
> Action ended 21:36:31: deploy. Return value 1.
> Action start 21:36:31: preprogress3.
> Action ended 21:36:32: preprogress3. Return value 1.
> Action start 21:36:32: postprogress3.
> Action ended 21:36:32: postprogress3. Return value 1.
> Action start 21:36:32: jaws.
> Action ended 21:36:32: jaws. Return value 1.
> Action start 21:36:32: preprogress4.
> Action ended 21:36:32: preprogress4. Return value 1.
> Action start 21:36:32: postprogress4.
> Action ended 21:36:32: postprogress4. Return value 1.
> Action start 21:36:32: jsse.
> Action ended 21:36:32: jsse. Return value 1.
> Action start 21:36:32: preprogress5.
> Action ended 21:36:32: preprogress5. Return value 1.
> Action start 21:36:32: postprogress5.
> Action ended 21:36:32: postprogress5. Return value 1.
> Action start 21:36:32: tools.
> Action ended 21:36:32: tools. Return value 1.
> Action start 21:36:32: preprogress6.
> Action ended 21:36:32: preprogress6. Return value 1.
> Action start 21:36:32: postprogress6.
> Action ended 21:36:32: postprogress6. Return value 1.
> Action start 21:36:32: rt.
> Action ended 21:36:32: rt. Return value 1.
> Action start 21:36:32: preprogress7.
> Action ended 21:36:32: preprogrFATAL: command execution failed
> 
> hudson.AbortException
> 
>       at hudson.tools.JDKInstaller.install(JDKInstaller.java:248)
> 
>       at 
> hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:132)
> 
>       at 
> hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
> 
>       at 
> hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
> 
>       at 
> hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:203)
> 
>       at 
> hudson.model.JDK.forNode(JDK.java:122)
> 
>       at 
> hudson.model.AbstractProject.getEnvironment(AbstractProject.java:348)
> 
>       at 
> hudson.model.Run.getEnvironment(Run.java:2058)
> 
>       at 
> hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:933)
> 
>       at 
> hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:84)
> 
>       at 
> hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60)
> 
>       at 
> hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
> 
>       at 
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
> 
>       at 
> hudson.model.Build$BuildExecution.build(Build.java:199)
> 
>       at 
> hudson.model.Build$BuildExecution.doRun(Build.java:160)
> 
>       at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586)
> 
>       at 
> hudson.model.Run.execute(Run.java:1593)
> 
>       at 
> hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> 
>       at 
> hudson.model.ResourceController.execute(ResourceController.java:88)
> 
>       at 
> hudson.model.Executor.run(Executor.java:247)
> 
> Build step 'Execute Windows batch command' marked build as failure
> Finished: FAILURE
> 
> 
> 
> On Tue, Aug 13, 2013 at 5:58 PM, Daniel Beck <m...@beckweb.net> wrote:
> Create a job.
> 
> Enter the Windows node's name as 'Label expression' after you check 'Restrict 
> where this project can be run'.
> 
> For build steps, use something Visual Studio specific, or start with a 
> 'Execute Windows batch command' builder.
> 
> Now this job will run on your Windows node and execute your batch commands.
> 
> On 13.08.2013, at 23:54, keith.ouellettte <keith.ouellet...@gmail.com> wrote:
> 
> > I am setting up Jenkins for the first time. It is installed on a Linux 
> > server
> > (OpenSuSE 12.2) and we have a requirement to build an application using
> > Visual Studio. We configured a windows slave and have it configured as a
> > node in Jenkins. It is configured to use JNLP and we see it connected in the
> > Nodes list. Now for the hard part. How do I use that connection to kick off
> > a build?
> >
> >  I have been searching for a HOWTO or any documentation out there,
> > but have not seen anything that really explains its use. I see some SSH
> > stuff, but that means I need to install Cygwin and get the authentication
> > stuff going. That seemed more complex. Is there anything out there that
> > provides a good example of using JNLP?
> >
> > Thanks,Keith
> >
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Jenkins Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to jenkinsci-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to