*** larainema has quit IRC | 02:34 | |
openstackgerrit | Merged openstack-infra/jenkins-job-builder master: [Workflow] Update helpers import to common style https://review.openstack.org/585112 | 02:46 |
---|---|---|
openstackgerrit | Merged openstack-infra/jenkins-job-builder master: [view_list] Update helpers import to common style https://review.openstack.org/585119 | 02:46 |
openstackgerrit | Merged openstack-infra/jenkins-job-builder master: [wrappers] Update helpers import to common style https://review.openstack.org/585122 | 02:46 |
openstackgerrit | Merged openstack-infra/jenkins-job-builder master: [pipeline] Update helpers import to common style https://review.openstack.org/585120 | 02:46 |
openstackgerrit | Merged openstack-infra/jenkins-job-builder master: [scm] Update helpers import to common style https://review.openstack.org/585114 | 02:47 |
openstackgerrit | Merged openstack-infra/jenkins-job-builder master: [Triggers] Update helpers import to common style https://review.openstack.org/585117 | 02:51 |
openstackgerrit | Merged openstack-infra/jenkins-job-builder master: [Maven] Update helpers import to common style https://review.openstack.org/585111 | 02:51 |
openstackgerrit | Thanh Ha proposed openstack-infra/jenkins-job-builder master: Refactor jobfilters to separate file https://review.openstack.org/585131 | 02:59 |
*** rakkaus_ has joined #openstack-jjb | 03:13 | |
*** rakkaus_ has quit IRC | 03:18 | |
*** rakkaus_ has joined #openstack-jjb | 04:15 | |
*** rakkaus_ has quit IRC | 04:19 | |
*** larainema has joined #openstack-jjb | 04:26 | |
*** bkorren has joined #openstack-jjb | 05:29 | |
*** rakkaus_ has joined #openstack-jjb | 07:31 | |
*** bkorren has quit IRC | 08:08 | |
*** bkorren has joined #openstack-jjb | 08:21 | |
*** openstackgerrit has quit IRC | 08:48 | |
*** bkorren has quit IRC | 10:13 | |
*** bkorren has joined #openstack-jjb | 10:25 | |
*** rakkaus_ has quit IRC | 10:39 | |
*** rakkaus_ has joined #openstack-jjb | 11:53 | |
*** rakkaus_ has quit IRC | 11:57 | |
*** rakkaus_ has joined #openstack-jjb | 12:03 | |
*** larainema has quit IRC | 12:24 | |
*** ssbarnea has quit IRC | 13:05 | |
*** bkorren has quit IRC | 13:06 | |
*** tanhengyeow has joined #openstack-jjb | 13:23 | |
*** openstackgerrit has joined #openstack-jjb | 13:36 | |
openstackgerrit | Tan Heng Yeow proposed openstack-infra/jenkins-job-builder master: Add support for "Invoke Nexus Policy Evaluation" https://review.openstack.org/584581 | 13:36 |
tanhengyeow | zxiiro: Hi Thanh Ha, may I know how you are setting up your Jenkins instance to configure the Nexus IQ Server? I have some issues connecting my Jenkins Docker instance to a Nexus server, thus unable to identify that the stage variable has those options | 13:39 |
*** rakkaus_ has quit IRC | 13:40 | |
zxiiro | tanhengyeow: what command do you use to start your docker container? | 13:44 |
tanhengyeow | zxiiro: For Jenkins, docker run -d -p <valid port number>:8080 -v $PWD/jenkins:/var/jenkins_home:z -t jenkins/jenkins | 13:47 |
tanhengyeow | And for Nexus IQ server, whatever is stated in https://hub.docker.com/r/sonatype/nexus-iq-server/ | 13:48 |
zxiiro | tanhengyeow: ok and when you configure your Nexus POlicy server connection you are using your system's IP address + the port you forwarded? | 13:49 |
tanhengyeow | localhost:<forwarded port> yea | 13:49 |
zxiiro | you cannot use localhost | 13:50 |
zxiiro | localhost is the container | 13:50 |
zxiiro | so if you localhost on jenkins, that means jenkins will try to connect back to itself | 13:50 |
tanhengyeow | Ah yea, I tried to hook them up in the same docker-network and they can ping each other, but they can't connect as well | 13:50 |
zxiiro | you need to use your system's IP address | 13:50 |
zxiiro | tanhengyeow: try: telnet <ip> <port> | 13:51 |
zxiiro | tanhengyeow: if that works that means the port is open and listen | 13:51 |
zxiiro | tanhengyeow: which means jenkins should be able to connect to that ip and port | 13:52 |
zxiiro | tanhengyeow: you have to think of containers as independent machines. Localhost is also only local to the container, ti doesn't leave their local interface onto the network into the other container. | 13:52 |
zxiiro | tanhengyeow: which means each container has it's own separate networking stack and needs routing to be able to connect to another container. | 13:53 |
zxiiro | tanhengyeow: that's why you have a docker0 port on your host machine, it acts as a router for the containers. | 13:53 |
tanhengyeow | :zxiiro Nice, that clears things up alot :) Thank you! Now I'm faced with the Nexus IQ Server license issue ;o | 14:02 |
zxiiro | tanhengyeow: you should be able to use it for free for 30 days | 14:02 |
tanhengyeow | :zxiiro Seems like I have to sign up a trial version product key | 14:06 |
tanhengyeow | :zxiiro: anw the latest patch for the plugin is ready for review :) | 14:06 |
zxiiro | tanhengyeow: I commented. | 14:10 |
zxiiro | kien-ha: can you review tanhengyeow's patch too? | 14:12 |
*** ssbarnea has joined #openstack-jjb | 14:17 | |
openstackgerrit | Tan Heng Yeow proposed openstack-infra/jenkins-job-builder master: Add support for "Invoke Nexus Policy Evaluation" https://review.openstack.org/584581 | 14:34 |
openstackgerrit | Tan Heng Yeow proposed openstack-infra/jenkins-job-builder master: Add support for "Invoke Nexus Policy Evaluation" https://review.openstack.org/584581 | 14:37 |
*** larainema has joined #openstack-jjb | 15:24 | |
kien-ha | tanhengyeow: left a quick comment on your patch about docs. I think everything else is good to go | 17:42 |
openstackgerrit | Tan Heng Yeow proposed openstack-infra/jenkins-job-builder master: Add support for "Invoke Nexus Policy Evaluation" https://review.openstack.org/584581 | 17:49 |
*** bkorren has joined #openstack-jjb | 18:32 | |
*** tanhengyeow has quit IRC | 18:39 | |
*** bkorren has quit IRC | 19:36 | |
openstackgerrit | Merged openstack-infra/jenkins-job-builder master: Add support for "Invoke Nexus Policy Evaluation" https://review.openstack.org/584581 | 19:38 |
*** openstackgerrit has quit IRC | 21:04 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!