Friday, 2018-07-20

*** waynr has quit IRC00:06
*** spalger has quit IRC00:06
*** waynr has joined #openstack-jjb00:15
*** spalger has joined #openstack-jjb00:15
*** bkorren has joined #openstack-jjb05:36
*** hashar has joined #openstack-jjb07:11
*** bkorren has quit IRC07:22
*** electrofelix has joined #openstack-jjb07:56
*** hashar is now known as hasharAway08:59
*** tanhengyeow has joined #openstack-jjb14:46
tanhengyeowI'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-jjb15:14
_xelahi - 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
zxiirotanhengyeow: no idea. But I don't know if Anil's told you but Nexus IQ is more important than the Nexus Repository server15:19
zxiirotanhengyeow: I think that plugin has 2 sections, we care more about the Nexus IQ part of the configuration.15:19
zxiirotanhengyeow: In Nexus Platform plugin it's under Builders > Invoke Nexus Policy Evaluation15: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 scripts15:22
zxiiro_xela: instead create a separate file for shell scripts, and then use - shell: !include-raw: /path/to/shell15: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
zxiirowe manage over 5000 jobs in our systems so we've hit a few quirks which JJB that we had to document :)15:25
tanhengyeowzxiiro: Ah I see, I didn't know Nexus IQ part was focused more beforehand, thanks for telling me :)15:25
tanhengyeowzxiiro: Are you by any chance using ci-workshop and cannot configure jenkins to point to the servers ?15:25
zxiirotanhengyeow: yeah having both would be good. but we have an urgent need for the Nexus IQ thing15:25
zxiirotanhengyeow: I haven't touched ci-workshop in awhile so I don't know15:26
zxiirotanhengyeow: personally I usually just  go to docker hub and pull down whatever image i need when i need it15:26
zxiirotanhengyeow: here's one for nexus-iq-server https://hub.docker.com/r/sonatype/nexus-iq-server/15:26
tanhengyeowI see, then just configure my Jenkins to point to that url when it is set up right?15:27
zxiirotanhengyeow: I assume so (I haven't had to set this up before)15:30
*** electrofelix has quit IRC15:47
_xelazxiiro: for the gitlab trigger, i can't find the secretToken16: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
zxiiromy org mostly uses Gerrit and GitHub so I don't have any experience with the GitLab trigger plugin.16:06
_xelagitlab is calling http://jenkins/jobs/xyz but to authenticate against jenkins, or it uses a http://user:password@jenkins request16:06
_xelaor gitlab plugin offers to use a token for the trigger16:06
_xelaand the odd is that all the parameters are there, except this token16:07
_xelahttps://github.com/jenkinsci/gitlab-plugin#webhook-url --> Configuring per-project authentication16:09
_xelait's like the auth-id in github i suppose16:17
*** hasharAway has quit IRC16:32
*** _xela has quit IRC16:51
*** tanhengyeow has quit IRC16:57
*** bkorren has joined #openstack-jjb19:57
*** hashar has joined #openstack-jjb21:31
*** bkorren has quit IRC22:02
*** hashar has quit IRC22:29

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!