<?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 for Virtualizatio&#039;n&#039;automation	</title>
	<atom:link href="https://emilwypych.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>https://emilwypych.com/</link>
	<description>by Emil</description>
	<lastBuildDate>Wed, 05 Jun 2024 17:01:31 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>
	<item>
		<title>
		Comment on How to set a constant in Jenkins DSL by Glenn		</title>
		<link>https://emilwypych.com/2019/01/13/how-to-set-a-constant-in-jenkins-dsl/#comment-3615</link>

		<dc:creator><![CDATA[Glenn]]></dc:creator>
		<pubDate>Wed, 05 Jun 2024 17:01:31 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=530#comment-3615</guid>

					<description><![CDATA[static and final are not required on your interface either.  Interface fields are inherently static and final.]]></description>
			<content:encoded><![CDATA[<p>static and final are not required on your interface either.  Interface fields are inherently static and final.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Retry failed build in Jenkins by Neel Mookerjee		</title>
		<link>https://emilwypych.com/2019/04/14/retry-failed-build-in-jenkins/#comment-2509</link>

		<dc:creator><![CDATA[Neel Mookerjee]]></dc:creator>
		<pubDate>Fri, 21 Apr 2023 19:42:49 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=551#comment-2509</guid>

					<description><![CDATA[I fail to find the corresponding pipeline script. Otherwise this works only for the freestyle jobs!]]></description>
			<content:encoded><![CDATA[<p>I fail to find the corresponding pipeline script. Otherwise this works only for the freestyle jobs!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on How to set a constant in Jenkins DSL by Artur		</title>
		<link>https://emilwypych.com/2019/01/13/how-to-set-a-constant-in-jenkins-dsl/#comment-2502</link>

		<dc:creator><![CDATA[Artur]]></dc:creator>
		<pubDate>Fri, 10 Mar 2023 18:42:43 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=530#comment-2502</guid>

					<description><![CDATA[Hi
where did you put your file with constants?

I tried next structure and it fails with script: 2: unable to resolve class com.example.constants
dsl_scripts/
├── a
│      └── folders.groovy
├── features
│       └── Cloud_Core
│       └── puck_cableco11_CCU_bat_code_vars.groovy
├── src
│      ├── test
│      │   └── groovy
│      │       └── JobScriptsSpec.groovy
│     └── example
│       └── constants
│           └── markers.groovy]]></description>
			<content:encoded><![CDATA[<p>Hi<br />
where did you put your file with constants?</p>
<p>I tried next structure and it fails with script: 2: unable to resolve class com.example.constants<br />
dsl_scripts/<br />
├── a<br />
│      └── folders.groovy<br />
├── features<br />
│       └── Cloud_Core<br />
│       └── puck_cableco11_CCU_bat_code_vars.groovy<br />
├── src<br />
│      ├── test<br />
│      │   └── groovy<br />
│      │       └── JobScriptsSpec.groovy<br />
│     └── example<br />
│       └── constants<br />
│           └── markers.groovy</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Variable as a Groovy map key by Ganesh		</title>
		<link>https://emilwypych.com/2018/03/18/variable-as-a-groovy-map-key/#comment-2467</link>

		<dc:creator><![CDATA[Ganesh]]></dc:creator>
		<pubDate>Fri, 14 Oct 2022 16:20:58 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=443#comment-2467</guid>

					<description><![CDATA[Hi 
If I need to define the map based on the parameter input of the job, how can I do it? 
Eg: user inputs person1, person2, person3 as input
map needs to be created  for each person - 
ie person1 [ id: &#039; &#039; , name: &#039; &#039;]
    person2 [ id: &#039; &#039;, name: &#039; &#039;]
   etc]]></description>
			<content:encoded><![CDATA[<p>Hi<br />
If I need to define the map based on the parameter input of the job, how can I do it?<br />
Eg: user inputs person1, person2, person3 as input<br />
map needs to be created  for each person &#8211;<br />
ie person1 [ id: &#8216; &#8216; , name: &#8216; &#8216;]<br />
    person2 [ id: &#8216; &#8216;, name: &#8216; &#8216;]<br />
   etc</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Pyenv problem MACOSX_DEPLOYMENT_TARGET=11.0 by Japan Shah		</title>
		<link>https://emilwypych.com/2020/11/23/pyenv-problem-macosx_deployment_target11-0/#comment-2465</link>

		<dc:creator><![CDATA[Japan Shah]]></dc:creator>
		<pubDate>Tue, 11 Oct 2022 17:40:31 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=651#comment-2465</guid>

					<description><![CDATA[Awesome solution - even not found on Stackoverflow.com :-)
Thanks a ton for writing the solution here.]]></description>
			<content:encoded><![CDATA[<p>Awesome solution &#8211; even not found on Stackoverflow.com 🙂<br />
Thanks a ton for writing the solution here.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Ansible-vault password in Jenkins by aLuViAn		</title>
		<link>https://emilwypych.com/2019/11/11/ansible-vault-password-in-jenkins/#comment-2460</link>

		<dc:creator><![CDATA[aLuViAn]]></dc:creator>
		<pubDate>Mon, 19 Sep 2022 11:42:01 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=579#comment-2460</guid>

					<description><![CDATA[First, thanks for your useful post! I have been trying to implement the above in my jenkins/ansible setup, it is supposed to open a LUKS encrypted paritition, but in both methods, I was unsuccessful:
1. In the &quot;ansible plugin&quot; method:
cryptsetup throws password not correct error. When I check during the run, the ansible encrypted key file is not decrypted (don&#039;t know why)
2. In the &quot;shell&quot; method:
Either it throws the error &quot;The vault password file /blah/blah/workspace/Backup/vault-key was not found&quot; using secret file as an option and passing the credentials variable --vault-password-file to ansible. Same error when I use secret text instead of secret file.
NOTE: I&#039;m using a jenkins node to run ansible, as it is taking backups from infra and i did not want to mess it with jenkins setup.]]></description>
			<content:encoded><![CDATA[<p>First, thanks for your useful post! I have been trying to implement the above in my jenkins/ansible setup, it is supposed to open a LUKS encrypted paritition, but in both methods, I was unsuccessful:<br />
1. In the &#8220;ansible plugin&#8221; method:<br />
cryptsetup throws password not correct error. When I check during the run, the ansible encrypted key file is not decrypted (don&#8217;t know why)<br />
2. In the &#8220;shell&#8221; method:<br />
Either it throws the error &#8220;The vault password file /blah/blah/workspace/Backup/vault-key was not found&#8221; using secret file as an option and passing the credentials variable &#8211;vault-password-file to ansible. Same error when I use secret text instead of secret file.<br />
NOTE: I&#8217;m using a jenkins node to run ansible, as it is taking backups from infra and i did not want to mess it with jenkins setup.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Jenkins DSL Authorization Matrix loop by Emil		</title>
		<link>https://emilwypych.com/2018/06/27/jenkins-dsl-authorization-matrix-loop/#comment-2393</link>

		<dc:creator><![CDATA[Emil]]></dc:creator>
		<pubDate>Wed, 09 Mar 2022 08:06:21 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=502#comment-2393</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://emilwypych.com/2018/06/27/jenkins-dsl-authorization-matrix-loop/#comment-2392&quot;&gt;Kingster&lt;/a&gt;.

Hi, thanks a lot! Yeah, to be honest, I now use only groups and I can specify them in the DSL like users. But I use configure block, so I can specify something like this (in my case it&#039;s Authorization Matrix compatible with Azure AD, but schema is exactly the same for classic AM, it&#039;s just another class):

 configure {
            it / &#039;properties&#039; / &#039;com.microsoft.jenkins.azuread.AzureAdAuthorizationMatrixProperty&#039; {
                inheritanceStrategy(class: &#039;org.jenkinsci.plugins.matrixauth.inheritance.InheritGlobalStrategy&#039;)
                permission(&#039;hudson.model.Item.Read:username&#039;)
                permission(&#039;hudson.model.Item.Read:groupname&#039;)
            }
        }
And it works perfectly.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://emilwypych.com/2018/06/27/jenkins-dsl-authorization-matrix-loop/#comment-2392">Kingster</a>.</p>
<p>Hi, thanks a lot! Yeah, to be honest, I now use only groups and I can specify them in the DSL like users. But I use configure block, so I can specify something like this (in my case it&#8217;s Authorization Matrix compatible with Azure AD, but schema is exactly the same for classic AM, it&#8217;s just another class):</p>
<p> configure {<br />
            it / &#8216;properties&#8217; / &#8216;com.microsoft.jenkins.azuread.AzureAdAuthorizationMatrixProperty&#8217; {<br />
                inheritanceStrategy(class: &#8216;org.jenkinsci.plugins.matrixauth.inheritance.InheritGlobalStrategy&#8217;)<br />
                permission(&#8216;hudson.model.Item.Read:username&#8217;)<br />
                permission(&#8216;hudson.model.Item.Read:groupname&#8217;)<br />
            }<br />
        }<br />
And it works perfectly.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Jenkins DSL Authorization Matrix loop by Kingster		</title>
		<link>https://emilwypych.com/2018/06/27/jenkins-dsl-authorization-matrix-loop/#comment-2392</link>

		<dc:creator><![CDATA[Kingster]]></dc:creator>
		<pubDate>Tue, 08 Mar 2022 13:51:38 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=502#comment-2392</guid>

					<description><![CDATA[Hi, Great article, 
Is there a way to specify whether the authorization entity we give access to is a group or a user?

In the XML code I can specify as
      USER:hudson.model.Item.Configure:deployuser
 GROUP:hudson.model.Item.Read:anonymous

Is there a way to specify it in the DSL:

pipelineJob(&#039;__job_name__&#039;) {
    authorization {
        blocksInheritance()
        permission(&#039;hudson.model.Item.Configure&#039;,deployuser&#039;)
        permission(&#039;hudson.model.Item.Read:anonymous&#039;)
    }

There is an comment in https://stackoverflow.com/questions/70454192/jenkins-ambiguous-permission which answers my question but not sure how to implement it.
Thanks.]]></description>
			<content:encoded><![CDATA[<p>Hi, Great article,<br />
Is there a way to specify whether the authorization entity we give access to is a group or a user?</p>
<p>In the XML code I can specify as<br />
      USER:hudson.model.Item.Configure:deployuser<br />
 GROUP:hudson.model.Item.Read:anonymous</p>
<p>Is there a way to specify it in the DSL:</p>
<p>pipelineJob(&#8216;__job_name__&#8217;) {<br />
    authorization {<br />
        blocksInheritance()<br />
        permission(&#8216;hudson.model.Item.Configure&#8217;,deployuser&#8217;)<br />
        permission(&#8216;hudson.model.Item.Read:anonymous&#8217;)<br />
    }</p>
<p>There is an comment in <a href="https://stackoverflow.com/questions/70454192/jenkins-ambiguous-permission" rel="nofollow ugc">https://stackoverflow.com/questions/70454192/jenkins-ambiguous-permission</a> which answers my question but not sure how to implement it.<br />
Thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Jenkins DSL Authorization Matrix loop by Emil		</title>
		<link>https://emilwypych.com/2018/06/27/jenkins-dsl-authorization-matrix-loop/#comment-2384</link>

		<dc:creator><![CDATA[Emil]]></dc:creator>
		<pubDate>Tue, 08 Feb 2022 20:26:58 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=502#comment-2384</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://emilwypych.com/2018/06/27/jenkins-dsl-authorization-matrix-loop/#comment-2383&quot;&gt;Manish&lt;/a&gt;.

What do you exactly mean? You can update permissions by DSL and manually, at the project level in the configuration of the project, or globally – inside the Security section of Jenkins configuration. Does it answer your question?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://emilwypych.com/2018/06/27/jenkins-dsl-authorization-matrix-loop/#comment-2383">Manish</a>.</p>
<p>What do you exactly mean? You can update permissions by DSL and manually, at the project level in the configuration of the project, or globally – inside the Security section of Jenkins configuration. Does it answer your question?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Jenkins DSL Authorization Matrix loop by Manish		</title>
		<link>https://emilwypych.com/2018/06/27/jenkins-dsl-authorization-matrix-loop/#comment-2383</link>

		<dc:creator><![CDATA[Manish]]></dc:creator>
		<pubDate>Tue, 08 Feb 2022 12:03:43 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=502#comment-2383</guid>

					<description><![CDATA[is there any way i could updated the existing authorization matrix permissions]]></description>
			<content:encoded><![CDATA[<p>is there any way i could updated the existing authorization matrix permissions</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 10/145 objects using Disk
Page Caching using Disk: Enhanced 
Minified using Disk

Served from: emilwypych.com @ 2025-11-23 12:30:49 by W3 Total Cache
-->