Replaced debug with logging.
Merge pull request #2 from davehunt/13243

Don't replace slashes in URLs. Fixes JENKINS-13243
Merge branch 'master' into add-logging

Conflicts:
	src/main/java/hudson/plugins/xshell/XShellBuilder.java
updated maven pom to use repo.jenkins-ci.org repository
Merge pull request #3 from davehunt/add-logging

Replaced debug with logging
Updated pom to 1.459
[maven-release-plugin] prepare release xshell-0.8
[maven-release-plugin] prepare for next development iteration
Update src/main/java/hudson/plugins/xshell/XShellBuilder.java

Changed regex for env vars, to avoid trailing '/' issue.
Update src/main/java/hudson/plugins/xshell/XShellBuilder.java

Previous test didn't worked at all, sorry. But it does.

1. Tested with "echo $WORKSPACE/juanito" command
2. Tested with "echo %WORKSPACE%/juanito" command

In both cases console output were:

a. Running on Windows Jenkins Slave via JNLP:
Ejecutando remotamente en  slave in workspace /tmp/jenkins/workspace/xshell_test_01
[xshell_test_01] $ cmd.exe /C '"echo %WORKSPACE%\juanito && exit %%ERRORLEVEL%%"'

b. Running on Linux Jenkins Slave via JNLP:
Ejecutando remotamente en  slave in workspace /tmp/jenkins/workspace/xshell_test_01
[xshell_test_01] $ echo $WORKSPACE/juanito
/tmp/jenkins/workspace/xshell_test_01/juanito
Merge pull request #4 from clalarco/master

Idea to solve env vars issue: modified regex pattern
Added unit test framework.
Modified regex used for converting windows to unix env variables.
Added unit tests for:
- separator conversion
- env variable conversion
Use getWorkSpace instead of getModuleRoot to set the working directory
Some SCMs (e.g. SVN) support checking out multiple modules into the same
workspace. In that case the getModuleRoot is not deterministic anymore.
Even if only one module is checked out, the Module Root is not
necessarily the same as the Work Space directory. So explicitly use
getWorkSpace to conform to the documented behavior: "the current working
directory of the command execution is always the job's workspace root."
Merge pull request #6 from vsnijders/fix_workspace

Use getWorkSpace instead of getModuleRoot to set the working directory
add git to URL matcher for JENKINS-13243

otherwise git://github.com/user/repo.git becomes git:\github.com\user\repo.git 

see https://issues.jenkins-ci.org/browse/JENKINS-13243?focusedCommentId=178712&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-178712
Merge pull request #7 from achengs/master

Don't replace slashes in git URLs. Fixes JENKINS-13243
Added ability to check for a string in output to fail the step
Added a timeout to fail the step if it goes over
Tidied up
Merge pull request #8 from JeremyMarshall/master

Fail job on regex found in STDOUT or running over allotted time