title: Jenkins build failing with Received fatal alert: handshake_failure?
body: <p>My jenkins build fails with a fatal error ''. However the same <code>settings.xml</code> file used in local build works fine. Please find the error logs as below. And help me what I might be doing wrong?
  <strong>Jenkins console log:</strong></p>
  <pre><code>19:43:52  + JAVA_OPTS='-Xms1024m -Xmx1024m -XX:-UseGCOverheadLimit'
  19:43:52  + mvn -s /home/jenkins/agent/workspace/ta_myownapplication/settings.xml clean install -Dmaven.wagon.http.ssl.insecure=true -f /home/jenkins/agent/workspace/ta_myownapplication/pom.xml
  19:43:52  Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
  19:43:53  [INFO] Scanning for projects...
  19:43:54  [WARNING] Some problems were encountered while building the effective model for MyAppData:MyAppData:jar:0.0.1-SNAPSHOT
  19:43:54  [WARNING] 'dependencies.dependency.systemPath' for org.powermock:powermock-module-testng:jar should not point at files within the project directory, ${project.basedir}/testlib/powermock-module-testng-1.5.1.jar will be unresolvable by dependent projects @ line 289, column 17
  19:43:54  [WARNING] 
  19:43:54  [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  19:43:54  [WARNING] 
  19:43:54  [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  19:43:54  [WARNING] 
  19:43:54  [INFO] 
  19:43:54  [INFO] ----------------&lt; MyAppData:MyAppData &gt;-----------------
  19:43:54  [INFO] Building MyAppData 0.0.1-SNAPSHOT
  19:43:54  [INFO] --------------------------------[ jar ]---------------------------------
  19:43:54  Downloading from MyAppData-nexus-releases: https://agile.nat.alpha.com/nexus/repository/myownapplication_maven/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
  19:43:54  Downloading from central: https://agile.nat.alpha.com/nexus/repository/maven-central/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
  19:43:54  [INFO] ------------------------------------------------------------------------
  19:43:54  [INFO] BUILD FAILURE
  19:43:54  [INFO] ------------------------------------------------------------------------
  19:43:54  [INFO] Total time:  0.891 s
  19:43:54  [INFO] Finished at: 2022-03-09T14:13:54Z
  19:43:54  [INFO] ------------------------------------------------------------------------
  19:43:54  [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to MyAppData-nexus-releases (https://agile.nat.alpha.com/nexus/repository/myownapplication_maven/): transfer failed for https://agile.nat.alpha.com/nexus/repository/myownapplication_maven/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom, proxy: ProxyInfo{host='myproxy-server.nat.alpha.com', userName='null', port=8080, type='http', nonProxyHosts='null'}: Received fatal alert: handshake_failure -&gt; [Help 1]
  </code></pre>