Re: How to configure a Jenkinsfile pipeline for a Rails project with a PostgreSQL DB in Docker?

2020-05-27 Thread Piotr Bracha
gt; >>>>> where do I need to declare the containers I'm creating? >>>>> >>>>> Am I doing this wrong? Is it impossible to have it this way, in two >>>>> containers? Can someone, please, provide me with a full example of it? >>>

Re: How to configure a Jenkinsfile pipeline for a Rails project with a PostgreSQL DB in Docker?

2020-05-27 Thread Piotr Bracha
provide me with a full example of it? >>> >>> >>> Thank you in advance! >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Jenkins Users" group. >>> To unsubscribe from this group and st

Re: How to configure a Jenkinsfile pipeline for a Rails project with a PostgreSQL DB in Docker?

2020-05-26 Thread Piotr Bracha
it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/960edcc1-cd04-431a-8279-7d707062a3be%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/960edcc1-

Re: build image based on PullRequest and test it

2019-05-26 Thread Piotr Bracha
//groups.google.com/d/msgid/jenkinsci-users/5ca8978f-78ed-468a-8050-f7193df7f5c1%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/5ca8978f-78ed-468a-8050-f7193df7f5c1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit ht

build image based on PullRequest and test it

2019-05-23 Thread Piotr Bracha
ild from PR. -- *Pozdrawiam / Kind regards,* Piotr Bracha Administrator Systemów *Vasco Electronics sp. z o.o. S.K.A.* al. Pokoju 1, CTA/350 31-548 Kraków NIP 677 236 91 51 E-mail: p.bra...@vasco-electronics.com [image: Vasco Electronics] <https://vasco-electronics.com/>[image: wKartecz

Re: jenkins slave on docker does not have permissions to /var/run/docker.sock

2019-04-17 Thread Piotr Bracha
s napisał(a): > Am Mittwoch, den 17.04.2019, 11:22 +0200 schrieb Piotr Bracha: > > Slave didn't see "docker" command > > > Wonder why it would be needed. We run builds on Docker agents, too, but > never needed the docker command itself inside the container. > >

jenkins slave on docker does not have permissions to /var/run/docker.sock

2019-04-17 Thread Piotr Bracha
roup | grep docker docker:x:999:jenkins Group on docker slave: root@b06e55959ae9:/var/run# cat /etc/group | grep docker docker:x:999:jenkins *Still nothing. *Can anybody help me with this? -- *Pozdrawiam / Kind regards,* Piotr Bracha Administrator Systemów *Vasco Electronics sp. z o.o. S.K.A.* al.

Re: jenkins slave on docker does not see "sh" command

2019-04-15 Thread Piotr Bracha
ichs napisał(a): > Am Montag, den 15.04.2019, 14:53 +0200 schrieb Piotr Bracha: > > + /home/jenkins/.rvm/rubies/ruby-2.5.1/bin/gem install bundler > > /usr/bin/env: ‘ruby’: No such file or directory > > > It's related with this stage but with exactly which command -

Re: jenkins slave on docker does not see "sh" command

2019-04-15 Thread Piotr Bracha
handleStatus(STAGE_NAME, false); } } } pon., 15 kwi 2019 o 14:12 Piotr Bracha napisał(a): > That's perfect. Thank you. > > pon., 15 kwi 2019 o 13:06 Dirk Heinrichs > napisał(a): > >> Am Montag, den 15.04.2019, 12:47 +

Re: jenkins slave on docker does not see "sh" command

2019-04-15 Thread Piotr Bracha
That's perfect. Thank you. pon., 15 kwi 2019 o 13:06 Dirk Heinrichs napisał(a): > Am Montag, den 15.04.2019, 12:47 +0200 schrieb Piotr Bracha: > > I should try some way but it is not mine: > <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jenkinsci_doc

Re: jenkins slave on docker does not see "sh" command

2019-04-15 Thread Piotr Bracha
I should try some way but it is not mine: https://github.com/jenkinsci/docker-jnlp-slave pon., 15 kwi 2019 o 12:04 Dirk Heinrichs napisał(a): > Am Montag, den 15.04.2019, 10:05 +0200 schrieb Piotr Bracha: > > bundle: command not found > > > Your container lacks stuff needed

Re: jenkins slave on docker does not see "sh" command

2019-04-15 Thread Piotr Bracha
:07 Piotr Bracha napisał(a): > When I commented out line in file login-bash I have failing job: > > [Pipeline] configFileProvider > <https://jenkins.vasco-technologies.com/job/cordeo-api-test/job/bugfix%252Fmails-styling/5/console#>provisioning > config files... > c

Re: jenkins slave on docker does not see "sh" command

2019-04-15 Thread Piotr Bracha
roup. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to jenkinsci-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/0681f438-33d8-40b9-bba2-fa612a1d8bd2

Re: jenkins slave on docker does not see "sh" command

2019-04-14 Thread Piotr Bracha
0681f438-33d8-40b9-bba2-fa612a1d8bd2%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/0681f438-33d8-40b9-bba2-fa612a1d8bd2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -

Re: jenkins slave on docker does not see "sh" command

2019-04-14 Thread Piotr Bracha
Ok, I try delete it. We will see does the "sh" command will work on master jenkins after deleting/renaming. pon., 15 kwi 2019 o 08:31 Dirk Heinrichs napisał(a): > Am Montag, den 15.04.2019, 08:20 +0200 schrieb Piotr Bracha: > > Honestly I didn't know it shouldn'

Re: jenkins slave on docker does not see "sh" command

2019-04-14 Thread Piotr Bracha
b20345e0cca588d52402c736d0b49.camel%40opentext.com > <https://groups.google.com/d/msgid/jenkinsci-users/2226e9624a0b20345e0cca588d52402c736d0b49.camel%40opentext.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *Pozdrawia

Re: jenkins slave on docker does not see "sh" command

2019-04-14 Thread Piotr Bracha
oups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/0681f438-33d8-40b9-bba2-fa612a1d8bd2%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/0681f438-33d8-40b9-bba2-fa612a1d8bd2%40googlegroups.com?utm_medium=email&utm_source=fo

jenkins slave on docker does not see "sh" command

2019-04-11 Thread Piotr Bracha
Hello, I have a problem with not recognized "sh" command. I have easy pipeline script: pipeline { agent { label "slave-1" } options { disableConcurrentBuilds() } stages { stage('Setup build variables') { steps { script {

Jenkins pulls and builds not newest commit

2019-03-12 Thread Piotr Bracha
on real project. Jenkins builds from penult (before last one) commit. -- *Pozdrawiam / Kind regards,* Piotr Bracha Administrator Systemów *Vasco Electronics sp. z o.o. S.K.A.* al. Pokoju 1, CTA/350 31-548 Kraków NIP 677 236 91 51 E-mail: p.bra...@vasco-electronics.com [image: Vasco Electronics

Jenkins pulls and builds older commit

2019-03-06 Thread Piotr Bracha
on real project. Jenkins builds from penult (before last one) commit. -- *Pozdrawiam / Kind regards,* Piotr Bracha Administrator Systemów *Vasco Electronics sp. z o.o. S.K.A.* al. Pokoju 1, CTA/350 31-548 Kraków NIP 677 236 91 51 E-mail: p.bra...@vasco-electronics.com [image: Vasco Electronics