I'm new to using Jenkins, and really CI in general, but I'm trying to
get a .Net web project built and deployed. I've got the latest
version of Jenkins (1.434 right now) installed and running as windows
service. I've setup a new project and configured it to be built on-
demand (no scc integration) using the MSBuild plugin (located:
http://wiki.jenkins-ci.org/display/JENKINS/MSBuild+Plugin )
The build seems to complete successfully, but I can't find what it
built. If I browse the JENKINS_HOME/jobs/<project> I can see builds
and workspace folder, and the builds folder is populated, but I've
never seen anything in workspace. I tried using the built in "archive
artifacts" option with no success. This fails the build stating "No
artifacts found that match the file pattern "**""
I've also tried using the ArtifactDeployer plugin (located:
https://wiki.jenkins-ci.org/display/JENKINS/ArtifactDeployer+Plugin )
but it basically states the same thing by printing: [ArtifactDeployer]
- 0 file(s) have been copied from the workspace to 'd:\publish'. I've
also tried to setup a custom workspace, but that seems to make no
difference.
I can't seem to find where any of these build artifacts are created?
I recall reading that there was a workspace cleanup process, is it
really just creating and deleting them before I see them? If so, why
wouldn't ArtifactDeployer see them as it's tied directly in as a build
step?
UPDATE - I turned on logging for Jenkins itself and see numerous
events similar to:
FINEST: Failed to check environment variable match
org.jvnet.winp.WinpException: Failed to read environment variable
table error=299 at .\envvar-cmdline.cpp:114
at org.jvnet.winp.Native.getCmdLineAndEnvVars(Native Method)
at org.jvnet.winp.WinProcess.parseCmdLineAndEnvVars(WinProcess.java:
114)
at org.jvnet.winp.WinProcess.getEnvironmentVariables(WinProcess.java:
109)
at hudson.util.ProcessTree$Windows
$1.getEnvironmentVariables(ProcessTree.java:426)
at hudson.util.ProcessTree
$OSProcess.hasMatchingEnvVars(ProcessTree.java:266)
at hudson.util.ProcessTree$Windows.killAll(ProcessTree.java:448)
at hudson.Launcher$LocalLauncher.kill(Launcher.java:730)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:
483)
at hudson.model.Run.run(Run.java:1404)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:
88)
at hudson.model.Executor.run(Executor.java:230)
From what I see on this post:
http://jenkins.361315.n4.nabble.com/Re-hudson-util-ProcessTreeTest-test-error-td2269355.html
I wonder if this is maybe a windows specific problem? I could setup a
linux master server, but since I'm using MSBuild for .Net, I believe
I'd still need a Windows build/slave - and therefore I would still
have the same problem?
Thanks for any guidance you can provide, I've not been able to find
many good/current resources for getting all this setup - any
walkthroughs or articles would be nice too!
Matt