Hi, Thanks for replying. 

Actually, the keyring is a feature in Ubuntu, to store credentials for a 
particular service or application. What I am trying to achieve here, is, I 
have integrated the nexus artifact repository in Jenkins to upload the 
PYthon package(tar.gz) into the nexus repo. While uploading the python 
package using twine, it's asking for credentials. So, I am gonna store 
those credentials in Keyring and would like to input that while the job is 
in process. I'll leave the link below. Please have a look at it and help me 
out as I am on this task for a long time.


https://keyring.readthedocs.io/en/latest/#using-keyring-on-headless-linux-systems


On Tuesday, February 22, 2022 at 7:06:06 PM UTC+5:30 dheinric wrote:

> Am Montag, dem 21.02.2022 um 22:18 -0800 schrieb Bhargav sai:
>
> How to input the password to the build.
>
>
> Don't know what exactly "keyring" is, but in order to inject credentials 
> into a build, you'd need to add them to Jenkins, first: "Manage Jenkins" -> 
> "Manage credentials". Then, in the job configuration, you cann check "Use 
> secret text(s) or file(s)" to add one or more credentials bindings, which 
> will put your credentials into environment variables for use in the build 
> steps. Jenkins will also ensure that all ocurrences of the username or 
> password are properly masked in the build log.
>
> HTH...
>
> Dirk
>
> -- 
>
> *Dirk Heinrichs*
> Senior Systems Engineer, Delivery Pipeline
> OpenText ™ Discovery | Recommind
> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
> *Email*: [email protected]
> *Website*: www.recommind.de
> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
> This e-mail may contain confidential and/or privileged information. If you 
> are not the intended recipient (or have received this e-mail in error) 
> please notify the sender immediately and destroy this e-mail. Any 
> unauthorized copying, disclosure or distribution of the material in this 
> e-mail is strictly forbidden
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und 
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
> Weitergabe dieser Mail sind nicht gestattet.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/763a03ab-c5ec-4fc9-b278-751a08c8b77fn%40googlegroups.com.

Reply via email to