Re: script pipeline with rabbitmq

2020-06-17 Thread Jan Monterrubio
Check out the sidecar portion of these docs: https://www.jenkins.io/doc/book/pipeline/docker/ I think maybe the initial agent part is what might not be making it work. On Tue, Jun 16, 2020 at 14:48 Arturo Arenas wrote: > hello everybody !! > > someone tried to do this? > > node { > docker.i

Re: script pipeline with rabbitmq

2020-06-16 Thread Arturo Arenas
Hello Jan, Yes, i want to perform some test with AMQP in mi code, therefore, i need running sidecars containers, but i get some issues with that implementation. El martes, 16 de junio de 2020, 18:36:51 (UTC-4), Jan Monterrubio escribió: > > What are you trying to accomplish here? It looks l

Re: script pipeline with rabbitmq

2020-06-16 Thread Jan Monterrubio
What are you trying to accomplish here? It looks like setup some queues and db as infrastructure for something else that depends on it? On Tue, Jun 16, 2020 at 14:48 Arturo Arenas wrote: > hello everybody !! > > someone tried to do this? > > node { > docker.image('rabbitmq:3').withRun('--rm

script pipeline with rabbitmq

2020-06-16 Thread Arturo Arenas
hello everybody !! someone tried to do this? node { docker.image('rabbitmq:3').withRun('--rm --hostname test-rabbit --name test-rabbit -p 15672:15672') { c -> docker.image('rabbitmq:3').inside("--link ${c.id}:db") { sh 'rabbitmqctl list_users' } docker.image