<div dir="ltr"><div dir="ltr"><div>There is no Jenkins plugin for Pulp. However, each plugin publishes a Python client library to PyPI. I would recommend using those libraries to publish content into Pulp. The documentation for the clients is not currently published, but can be generated using the instruction for generating a client library[0]. There is also a script that shows how to use the clients[1].<br></div><div><br></div><div>The example scripts use bash because we wanted to provide examples that can be executed from the command line. Once we have a working CLI, the examples will be converted to that. </div><div><br></div><div>[0] <a href="https://docs.pulpproject.org/client_bindings.html#other-languages">https://docs.pulpproject.org/client_bindings.html#other-languages</a></div></div><div>[1] <a href="https://gist.github.com/dkliban/384e5a3c20005e777ef2a2fce9c2a6ba">https://gist.github.com/dkliban/384e5a3c20005e777ef2a2fce9c2a6ba</a></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 7, 2020 at 1:28 PM Tim Black <<a href="mailto:timblaktu@gmail.com">timblaktu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="auto">Anyone using pulp for artifact management with Jenkins Pipelines, aside from building and testing pulp project itself? I didn't find anything on the pulp mailing list archives about Jenkins integration (and the #pulp IRC channel has been a desert) and am looking for clarification and suggestions. </div><div dir="auto"><br></div><div dir="auto">

I see in each plugin's Workflows documentation example bash scripts for doing the basic mechanics of creating and syncing repos, publishing and retrieving content, and I assume that's the intended starting point for newcomers like myself. I just wanted to confirm this and wondered if anyone knows of any prior work to wrap this up for easy integration into Jenkins pipelines, e.g. Groovy wrappers around your scripts. </div><div dir="auto"><br></div><div dir="auto">FWIW, my use case for pulp is to manage all intermediate and final artifacts generated by several Jenkins pipelines for complex embedded, desktop and web software projects. Our pipelines would be using the following content plugins 

to retrieve and/or publish all of the (versioned) artifacts that our pipelines build and/or use:</div><div dir="auto"><ol><li>pulp-deb for .debs</li><li>pulp-python for python packages</li><li>pulp-container for Docker images</li><li>pulp-ansible for Ansible roles and collections</li><li>pulp-file for everything else (this is actually the majority of our content)<br></li></ol><div>We will be using pulp to manage not only the "final" pipeline output, i.e. artifacts consumed by customers, but also intermediate build artifacts which are used as a sort of build cache to speed up our development process. Any other info or anecdotal reports related to these uses would be interesting to me.</div><div><br></div><div>In case the above is not clear, what I'm looking for is the existence of anything like <a href="https://www.jfrog.com/confluence/display/JFROG/Jenkins+Artifactory+Plug-in" target="_blank">this </a>for pulp.</div><div><br></div><div>Thanks,</div><div>Tim Black</div><div><br></div><div>p.s. I'm curious why the pulp devs chose to write the usage scripts in bash when the rest of their application was in python.</div><div></div></div>
</div>
_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div></div>