title: Hide password in settings.xml in jenkins for profiles
body: <p>First we had a settings.xml like this:</p>
  
  <pre><code>&lt;servers&gt;
          &lt;server&gt;
              &lt;id&gt;test&lt;/id&gt;
              &lt;username&gt;user&lt;/username&gt;
              &lt;password&gt;secret1&lt;/password&gt; 
          &lt;/server&gt;
  &lt;/servers&gt;
  &lt;profiles&gt;
      &lt;profile&gt;
              &lt;id&gt;flyway.help&lt;/id&gt;
              &lt;properties&gt;
                  &lt;flyway.placeholders.db.user&gt;user&lt;/flyway.placeholders.db.user&gt;
                  &lt;flyway.placeholders.db.password&gt;secret2&lt;/flyway.placeholders.db.password&gt;
              &lt;/properties&gt;
      &lt;/profile&gt;
  &lt;/profiles&gt;
  </code></pre>
  
  <p>The username and password are in plain text.
  Than we used the credentials plugin inside our global <code>settings.xml</code> so we could hide the username and password of our server.</p>
  
  <p><a href="https://i.stack.imgur.com/4NEFI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4NEFI.png" alt="enter image description here"></a></p>
  
  <p>It's now like this:</p>
  
  <pre><code>&lt;servers&gt;
          &lt;server&gt;
              &lt;id&gt;test&lt;/id&gt;
          &lt;/server&gt;
  &lt;/servers&gt;
  </code></pre>
  
  <p>It's pointing to the ID test. This works well. 
  But how can we hide the passwords we have inside our profile section. Between the flyway tags?</p>