Comments (7)
I've updated my entire Jenkins2 out of the box setup and reverified this. Out of the box it now comes completely configured and ready to work (to avoid typo's/setup mistakes) so everything should just work now.
If you need the image name in the future, on this new setup it's "jenkins2_slave".
from dockerjenkins_tutorial.
I was facing a similar problem to begin with as, the image name can be defined in three places!
docker-compose.yml - The slave is called jenkins_android
docker-compose ps - cistack_jenkins_android_1
docker images - cistack_jenkins_android
Ultimately, it was the last one that worked, enjoy!
from dockerjenkins_tutorial.
I have to use the docker images name, right @symball ?
from dockerjenkins_tutorial.
That's what worked for me @SalahAdDin correct.
cistack_jenkins_android
from dockerjenkins_tutorial.
And, well, i don't know but now i have and advance, i have serious problems with my custom jenkins image.
I have this in bash:
docker images ✓ 4041 00:50:07
REPOSITORY TAG IMAGE ID CREATED SIZE
jenkins_master latest c0d0eb11f770 About an hour ago 543.8 MB
jenkins_nginx latest 81e888c9f7ee 4 days ago 356.3 MB
jenkins_data latest 639e8d5d99e4 4 days ago 123.3 MB
jenkins_slave latest 66196e8bcfab 4 days ago 626.5 MB
pritunl/archlinux latest 5cac5ae9cf9e 6 days ago 350.4 MB
jenkins latest 865c4db528ff 7 days ago 712.3 MB
openjdk 8-jdk 96cddf5ae9f1 7 days ago 640.9 MB
debian jessie ddf73f48a05d 7 days ago 123 MB
centos 7 980e0e4c79ec 3 weeks ago 196.7 MB
salahaddin@TulipanROG ~/Proyectos/uzmantech/jenkins rework ● ? docker-compose ps ✓ 4051 00:50:27
Name Command State Ports
-----------------------------------------------------------------------------------------------
jenkins_data_1 echo Data container for Je ... Exit 0
jenkins_master_1 /bin/tini -- /usr/local/bi ... Up 0.0.0.0:50000->50000/tcp, 8080/tcp
jenkins_nginx_1 nginx Up 443/tcp, 0.0.0.0:80->80/tcp
jenkins_slave_1 /bin/bash Exit 0
salahaddin@TulipanROG ~/Proyectos/uzmantech/jenkins rework ● ?
Good, my advances are this:
Yes, i have a new node, but, he doesn't connect.
Trying search in log files, i haven't found any report, and in log within new node i have this:
Starting connection command for 605f28691ad4a5631a56a89576a2243d39a2a5bf83762c64e399c0ee3dee241d
HTTP ERROR 404
Problem accessing /computer/Local%20Docker%20Host%20Machine-605f28691ad4/logText/progressiveHtml. Reason:
Not Found
Powered by Jetty://
What is my error now?
from dockerjenkins_tutorial.
I know this is old, but please comment if you can. Are you using Jenkins2 and the "Yet Another Docker Plugin" with JNLP set up? The only reason you should be calling back to Jenkins and getting a 404 is if you are.
For that to work, the Jenkins Location URL in the jenkins config has to be something you can route to from your Slave (which is making the HTTP call). Typically I use the IP Address of the Docker Host for this. And it i works, otherwise I get the error you descrbie above.
from dockerjenkins_tutorial.
@maxfields2000 can you show us your steps?
Yes, I'm using the latest Jenkins
version, 2.53
, and yet another docker plugin
.
Thank you
from dockerjenkins_tutorial.
Related Issues (20)
- Jenkins-slave HOT 1
- Link to Grafana Dashboards? HOT 11
- Jenkins Credentials page doesn't seem to be proxied HOT 4
- Any update plan of the tutorial for the Docker for Mac ? HOT 4
- Full home partition warning in Jenkins HOT 2
- Can't seem to upgrade the jenkins version HOT 3
- Question: Run docker (docker-compose) inside slaves? HOT 1
- jenkins.model.JenkinsLocationConfiguration.xml: No such file or directory HOT 3
- Scriptler plugin distribution is suspended. HOT 1
- Docker Ip Address working in Linux HOT 6
- It seems that reverse proxy settings is wrong HOT 1
- Some aclaration notes HOT 1
- Load Balanced Slave Cluster HOT 2
- Inquiry about using this with ECS HOT 6
- Jenkins Cert part is now different HOT 1
- Getting error on "Test Your Slave Build" section HOT 1
- /jenkins/README.md is not sync with /jenkins/makefile HOT 1
- Script to set up docker-plugin automatically HOT 2
- It appears that your reverse proxy set up is broken.
- Monitoring problem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerjenkins_tutorial.