Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43415

How to pass ENV variables to expose port while building

XMLWordPrintable

      I am unable to forward port through this plugin.

      I want to create a new side container of MYSQL which picks code from my SCM(i.e git) and the file on git can access this side container of mysql.

      I tried to do this. but landed up on an error -

      [http://stackoverflow.com/questions/43229847/econnrefused-127-0-0-13306-to-mysql-container-inside-jenkins]

      So is there a way I can run the "docker run" command from inside jenkins so that this connection refused error can go.

      Or please suggest a solution as to how to achieve this !

       

            ndeloof Nicolas De Loof
            udit04 UDIT Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: