*** waynr has quit IRC | 00:06 | |
*** spalger has quit IRC | 00:06 | |
*** waynr has joined #openstack-jjb | 00:15 | |
*** spalger has joined #openstack-jjb | 00:15 | |
*** bkorren has joined #openstack-jjb | 05:36 | |
*** hashar has joined #openstack-jjb | 07:11 | |
*** bkorren has quit IRC | 07:22 | |
*** electrofelix has joined #openstack-jjb | 07:56 | |
*** hashar is now known as hasharAway | 08:59 | |
*** tanhengyeow has joined #openstack-jjb | 14:46 | |
tanhengyeow | I've set up releng ci-workshop and trying to set up a Nexus Repository Manager Server in Jenkins to connect to the Nexus instance. Any idea why Jenkins cannot connect to http://nexus.localhost/nexus even though I am able to access it locally on my browser? | 14:48 |
---|---|---|
*** _xela has joined #openstack-jjb | 15:14 | |
_xela | hi - to use the shell variables in a shell: | block, when they are defined as ${variable} ? how to have them not parsed by jjb? | 15:15 |
zxiiro | tanhengyeow: no idea. But I don't know if Anil's told you but Nexus IQ is more important than the Nexus Repository server | 15:19 |
zxiiro | tanhengyeow: I think that plugin has 2 sections, we care more about the Nexus IQ part of the configuration. | 15:19 |
zxiiro | tanhengyeow: In Nexus Platform plugin it's under Builders > Invoke Nexus Policy Evaluation | 15:21 |
zxiiro | (it used to be a publisher in the old plugins :/ | 15:21 |
zxiiro | _xela: Double curly braces to escape {{ }} | 15:22 |
zxiiro | _xela: whoever in my experience I would advise against using the | syntax for shell scripts | 15:22 |
zxiiro | _xela: instead create a separate file for shell scripts, and then use - shell: !include-raw: /path/to/shell | 15:23 |
zxiiro | _xela: or if you want to escape all of the curly braces !include-raw-escape: | 15:23 |
zxiiro | _xela: we've documented some of our own best practices for using JJB here https://docs.releng.linuxfoundation.org/projects/global-jjb/en/latest/best-practices.html in case you are interested. | 15:24 |
zxiiro | we manage over 5000 jobs in our systems so we've hit a few quirks which JJB that we had to document :) | 15:25 |
tanhengyeow | zxiiro: Ah I see, I didn't know Nexus IQ part was focused more beforehand, thanks for telling me :) | 15:25 |
tanhengyeow | zxiiro: Are you by any chance using ci-workshop and cannot configure jenkins to point to the servers ? | 15:25 |
zxiiro | tanhengyeow: yeah having both would be good. but we have an urgent need for the Nexus IQ thing | 15:25 |
zxiiro | tanhengyeow: I haven't touched ci-workshop in awhile so I don't know | 15:26 |
zxiiro | tanhengyeow: personally I usually just go to docker hub and pull down whatever image i need when i need it | 15:26 |
zxiiro | tanhengyeow: here's one for nexus-iq-server https://hub.docker.com/r/sonatype/nexus-iq-server/ | 15:26 |
tanhengyeow | I see, then just configure my Jenkins to point to that url when it is set up right? | 15:27 |
zxiiro | tanhengyeow: I assume so (I haven't had to set this up before) | 15:30 |
*** electrofelix has quit IRC | 15:47 | |
_xela | zxiiro: for the gitlab trigger, i can't find the secretToken | 16:04 |
zxiiro | _xela: I've never used gitlab so I don't know what the secret token is. | 16:05 |
_xela | (i created the include-raw meanwhile. thanks!) | 16:05 |
zxiiro | my org mostly uses Gerrit and GitHub so I don't have any experience with the GitLab trigger plugin. | 16:06 |
_xela | gitlab is calling http://jenkins/jobs/xyz but to authenticate against jenkins, or it uses a http://user:password@jenkins request | 16:06 |
_xela | or gitlab plugin offers to use a token for the trigger | 16:06 |
_xela | and the odd is that all the parameters are there, except this token | 16:07 |
_xela | https://github.com/jenkinsci/gitlab-plugin#webhook-url --> Configuring per-project authentication | 16:09 |
_xela | it's like the auth-id in github i suppose | 16:17 |
*** hasharAway has quit IRC | 16:32 | |
*** _xela has quit IRC | 16:51 | |
*** tanhengyeow has quit IRC | 16:57 | |
*** bkorren has joined #openstack-jjb | 19:57 | |
*** hashar has joined #openstack-jjb | 21:31 | |
*** bkorren has quit IRC | 22:02 | |
*** hashar has quit IRC | 22:29 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!