<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to use credentials in Jenkins projects?	</title>
	<atom:link href="https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/feed/" rel="self" type="application/rss+xml" />
	<link>https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/</link>
	<description>by Emil</description>
	<lastBuildDate>Tue, 17 Dec 2019 13:51:19 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>
	<item>
		<title>
		By: Santosh		</title>
		<link>https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-1651</link>

		<dc:creator><![CDATA[Santosh]]></dc:creator>
		<pubDate>Tue, 17 Dec 2019 13:51:19 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=227#comment-1651</guid>

					<description><![CDATA[I am pulling the db password from the server using Jenkins job and storing in environment variable in one of the stage in Jenkins pipeline and in another stage I can able to connect the app server with the stored environment variable as password successfully but the password is displayed as plain text on Jenkins console,I want to mask the password on Jenkins console(I don&#039;t want to manually update password as CredentialsId, passwords are dynamically pull from remote server) .Can someone please let me know how i can achieve it. Thanks]]></description>
			<content:encoded><![CDATA[<p>I am pulling the db password from the server using Jenkins job and storing in environment variable in one of the stage in Jenkins pipeline and in another stage I can able to connect the app server with the stored environment variable as password successfully but the password is displayed as plain text on Jenkins console,I want to mask the password on Jenkins console(I don&#8217;t want to manually update password as CredentialsId, passwords are dynamically pull from remote server) .Can someone please let me know how i can achieve it. Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Emil		</title>
		<link>https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-636</link>

		<dc:creator><![CDATA[Emil]]></dc:creator>
		<pubDate>Sun, 17 Feb 2019 18:34:07 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=227#comment-636</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-629&quot;&gt;Slavisa Popravak&lt;/a&gt;.

Hi,

I&#039;m not sure whether I understand you well. Do you mean that you have credentials stored somewhere on disk or something similar? Or do you have an external script which you want to run in Jenkins, previously downloading it from the repository?

You should be able to use &quot;credential binding&quot; functionality for almost every idea you will find. If you run an external PowerShell script, you should pass a variable with a credential as an argument and it should work (but I have not made any tests).]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-629">Slavisa Popravak</a>.</p>
<p>Hi,</p>
<p>I&#8217;m not sure whether I understand you well. Do you mean that you have credentials stored somewhere on disk or something similar? Or do you have an external script which you want to run in Jenkins, previously downloading it from the repository?</p>
<p>You should be able to use &#8220;credential binding&#8221; functionality for almost every idea you will find. If you run an external PowerShell script, you should pass a variable with a credential as an argument and it should work (but I have not made any tests).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Slavisa Popravak		</title>
		<link>https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-629</link>

		<dc:creator><![CDATA[Slavisa Popravak]]></dc:creator>
		<pubDate>Fri, 15 Feb 2019 13:44:43 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=227#comment-629</guid>

					<description><![CDATA[Hi,
How to use $credential = get-credential in powershell script, and than run thad script with Jenkins.

And pass that $credential parameter into Jenkins]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
How to use $credential = get-credential in powershell script, and than run thad script with Jenkins.</p>
<p>And pass that $credential parameter into Jenkins</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Karthi		</title>
		<link>https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-470</link>

		<dc:creator><![CDATA[Karthi]]></dc:creator>
		<pubDate>Mon, 19 Nov 2018 03:41:00 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=227#comment-470</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-467&quot;&gt;Emil&lt;/a&gt;.

Got it. Thanks for the response. :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-467">Emil</a>.</p>
<p>Got it. Thanks for the response. 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Emil		</title>
		<link>https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-467</link>

		<dc:creator><![CDATA[Emil]]></dc:creator>
		<pubDate>Fri, 16 Nov 2018 11:20:07 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=227#comment-467</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-465&quot;&gt;Karthi&lt;/a&gt;.

Hi, Karthi!

Thanks for your reply. As far as I know, there is no just only one specific format for &quot;secret file&quot; - it depends on what you need. The secret file is represented by the path to this file in a Jenkins filesystem. So if there is an application which needs a secret file (in theory it can be an SSL/SSH certificate or something like that), you can use &quot;secret file&quot; credential and deliver that in a secure way. :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-465">Karthi</a>.</p>
<p>Hi, Karthi!</p>
<p>Thanks for your reply. As far as I know, there is no just only one specific format for &#8220;secret file&#8221; &#8211; it depends on what you need. The secret file is represented by the path to this file in a Jenkins filesystem. So if there is an application which needs a secret file (in theory it can be an SSL/SSH certificate or something like that), you can use &#8220;secret file&#8221; credential and deliver that in a secure way. 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Karthi		</title>
		<link>https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-465</link>

		<dc:creator><![CDATA[Karthi]]></dc:creator>
		<pubDate>Fri, 16 Nov 2018 09:33:42 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=227#comment-465</guid>

					<description><![CDATA[Hi Emil,
Thanks for posting detailed explanation. Is there any specific format for &quot;Secret File&quot; to store credentials?
Please share if you have thoughts on secret file.]]></description>
			<content:encoded><![CDATA[<p>Hi Emil,<br />
Thanks for posting detailed explanation. Is there any specific format for &#8220;Secret File&#8221; to store credentials?<br />
Please share if you have thoughts on secret file.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Emil		</title>
		<link>https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-262</link>

		<dc:creator><![CDATA[Emil]]></dc:creator>
		<pubDate>Mon, 16 Apr 2018 17:23:08 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=227#comment-262</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-261&quot;&gt;Jeff&lt;/a&gt;.

Thank you very much Jeff! I let myself add a part of your comment to post, of course with a notice that it&#039;s your comment. :) Thanks to this more people can read your clarification. But if you mind, I will remove that part - just let me know!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-261">Jeff</a>.</p>
<p>Thank you very much Jeff! I let myself add a part of your comment to post, of course with a notice that it&#8217;s your comment. 🙂 Thanks to this more people can read your clarification. But if you mind, I will remove that part &#8211; just let me know!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeff		</title>
		<link>https://emilwypych.com/2017/07/14/use-credentials-jenkins-projects/#comment-261</link>

		<dc:creator><![CDATA[Jeff]]></dc:creator>
		<pubDate>Mon, 16 Apr 2018 13:53:48 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=227#comment-261</guid>

					<description><![CDATA[A clarification on the environment variables - Jenkins exports environment variables consistently, but you access them according to the scripting language in use.  So in your shell script smtp example, an environment variable &quot;foo&quot; can be directly accessed with &quot;$foo&quot;.  But in PowerShell, environment variables are accessed by using the expression parser, syntax &quot;$env:foo&quot;.  This is why you see different ways of accessing the environment variable after Jenkins exports it.]]></description>
			<content:encoded><![CDATA[<p>A clarification on the environment variables &#8211; Jenkins exports environment variables consistently, but you access them according to the scripting language in use.  So in your shell script smtp example, an environment variable &#8220;foo&#8221; can be directly accessed with &#8220;$foo&#8221;.  But in PowerShell, environment variables are accessed by using the expression parser, syntax &#8220;$env:foo&#8221;.  This is why you see different ways of accessing the environment variable after Jenkins exports it.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 32/60 objects using Disk
Page Caching using Disk: Enhanced 
Minified using Disk

Served from: emilwypych.com @ 2025-11-29 03:31:37 by W3 Total Cache
-->