Posted solution here http://stackoverflow.com/questions/42930264/how-one-should-use-jenkinsci-jnlp-slave-for-complex-builds/42932767#42932767
вторник, 21 марта 2017 г., 15:39:00 UTC+1 пользователь [email protected] написал: > > Hi, > > I am struggling with jenkinsci/jnlp-slave docker image and ECS Plugin > https://wiki.jenkins-ci.org/display/JENKINS/Amazon+EC2+Container+Service+Plugin > > I am using complex docker containers (based on CentOS) for the builds. > It works perfectly on local docker, but I want to try ECS and plugin above. > > If I add "FROM jenkinsci/jnlp-slave" at the end of my big Dockerfile, it > breaks the whole environment, nothing works (no yum, no gcc, no npm etc) > > It doesn't work at the beginning of the Dockerfile either. > "FROM jenkinsci/jnlp-slave" > FROM centos:6.8 > [...] > > It this case the master doesn't connect to the slave. > > I will appreciate any help. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/bc1f2b39-51cd-4ed2-b6f4-4782e5a63d3b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
