This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3.4 | |
import share | |
import socket | |
import sys | |
import threading | |
TCP_IP = '127.0.0.1' | |
TCP_PORT = 5005 | |
BUFFER_SIZE = 20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> git.exe rev-parse --is-inside-work-tree # timeout=10 | |
ERROR: Workspace has a .git repository, but it appears to be corrupt. | |
hudson.plugins.git.GitException: Error performing command: git.exe rev-parse --is-inside-work-tree | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1464) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1433) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1429) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1117) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1127) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.hasGitRepo(CliGitAPIImpl.java:193) | |
at hudson.plugins.git.GitAPI.hasGitRepo(GitAPI.java:187) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def proc = """git clone https://github.com/karlapsite/helloworld /jenkins1/workspace/Build_and_SSH""".execute() | |
proc.waitFor() | |
println "return code: ${ proc.exitValue()}" | |
println "stderr: ${proc.err.text}" | |
println "stdout: ${proc.in.text}" |