How one should use jenkinsci/jnlp-slave for complex builds?

39 views
Skip to first unread message

arseni...@gmail.com

unread,
Mar 21, 2017, 10:39:00 AM3/21/17
to Jenkins Users
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.

arseni...@gmail.com

unread,
Mar 21, 2017, 12:21:34 PM3/21/17
to Jenkins Users
Posted solution here


вторник, 21 марта 2017 г., 15:39:00 UTC+1 пользователь arseni...@gmail.com написал:
Reply all
Reply to author
Forward
0 new messages