Build Job (Build Docker Bild, Code von Github) in Slave-Maschine durch Konfiguration, aber es nicht bauen Erfolg ... wenn ändern Job im Master, es Erfolg bauen
Slave bauen Nachricht:
jenkins Job baut nicht in Slave-Knoten
Started by user admin
Building remotely on jenkins-slave (slave) in workspace /home/jenkins/workspace/71bnh8co385ctlmoxgbumdnpnet3ywq
Cloning the remote Git repository
Cloning repository [email protected]:xxxxxxx/wcount.git
> git init /home/jenkins/workspace/71bnh8co385ctlmoxgbumdnpnet3ywq # timeout=10
Fetching upstream changes from [email protected]:xxxxxxx/wcount.git
> git --version # timeout=10
using GIT_SSH to set credentials 71bnh6gke9kmabye9qu2qsazzpofjsa
> git -c core.askpass=true fetch --tags --progress [email protected]:xxxxxxx/wcount.git +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url [email protected]:xxxxxxx/wcount.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url [email protected]:xxxxxxx/wcount.git # timeout=10
Fetching upstream changes from [email protected]:xxxxxxx/wcount.git
using GIT_SSH to set credentials 71bnh6gke9kmabye9qu2qsazzpofjsa
> git -c core.askpass=true fetch --tags --progress [email protected]:xxxxxxx/wcount.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 5730301886fa5c02522705de817c5ddac0f0dbce (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 5730301886fa5c02522705de817c5ddac0f0dbce
> git rev-list 5730301886fa5c02522705de817c5ddac0f0dbce # timeout=10
ERROR: Build step failed with exception
java.lang.IllegalArgumentException: configured dockerFolder '/home/jenkins/workspace/71bnh8co385ctlmoxgbumdnpnet3ywq' does not exist.
at org.jenkinsci.plugins.dockerbuildstep.cmd.CreateImageCommand.execute(CreateImageCommand.java:93)
at org.jenkinsci.plugins.dockerbuildstep.DockerBuilder.perform(DockerBuilder.java:75)
Master Arbeitsbereich/home/jenkins_home/Arbeitsplatz
Slave-Arbeitsplatz ist/home/jenkins/Arbeitsplatz
i can find/home/jenkins/Arbeitsplatz/71bnh8co385ctlmoxgbumdnpnet3ywq Verzeichnis in Slave-Knoten.
Ich denke, die Build-in Master-Knoten, aber ich sehe die Aufgabe in Slave-Warteschlange