GithubHelp home page GithubHelp logo

Comments (7)

maxfields2000 avatar maxfields2000 commented on August 30, 2024 1

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.

symball avatar symball commented on August 30, 2024

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.

SalahAdDin avatar SalahAdDin commented on August 30, 2024

I have to use the docker images name, right @symball ?

from dockerjenkins_tutorial.

symball avatar symball commented on August 30, 2024

That's what worked for me @SalahAdDin correct.

cistack_jenkins_android

from dockerjenkins_tutorial.

SalahAdDin avatar SalahAdDin commented on August 30, 2024

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 ● ?

And here my configuration:
seleccion_282

Good, my advances are this:
Yes, i have a new node, but, he doesn't connect.
seleccion_280

Trying search in log files, i haven't found any report, and in log within new node i have this:
seleccion_281

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.

maxfields2000 avatar maxfields2000 commented on August 30, 2024

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.

SalahAdDin avatar SalahAdDin commented on August 30, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.