Remove port from NEXUS_URL for netrc
[releng/global-jjb.git] / .jjb-test / expected-xml / github-maven-maven-release-master
index 401a1bf..bf44a56 100644 (file)
@@ -195,7 +195,7 @@ For example '<1.0.0' or '>=1.0.0,<2.0.0'.
     </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
     <EnvInjectBuilder>
       <info>
-        <propertiesContent>SERVER_ID=opendaylight-staging</propertiesContent>
+        <propertiesContent>SERVER_ID=project-staging</propertiesContent>
       </info>
     </EnvInjectBuilder>
     <hudson.tasks.Shell>
@@ -224,7 +224,7 @@ machine=$(echo &quot;$NEXUS_URL&quot; | awk -F/ '{print $3}')
 user=$(echo &quot;$CREDENTIAL&quot; | cut -f1 -d:)
 pass=$(echo &quot;$CREDENTIAL&quot; | cut -f2 -d:)
 
-echo &quot;machine $machine login $user password $pass&quot; &gt; ~/.netrc
+echo &quot;machine ${machine%:*} login $user password $pass&quot; &gt; ~/.netrc
 </command>
     </hudson.tasks.Shell>
     <hudson.tasks.Shell>
@@ -531,7 +531,7 @@ machine=$(echo &quot;$NEXUS_URL&quot; | awk -F/ '{print $3}')
 user=$(echo &quot;$CREDENTIAL&quot; | cut -f1 -d:)
 pass=$(echo &quot;$CREDENTIAL&quot; | cut -f2 -d:)
 
-echo &quot;machine $machine login $user password $pass&quot; &gt; ~/.netrc
+echo &quot;machine ${machine%:*} login $user password $pass&quot; &gt; ~/.netrc
 </command>
         </hudson.tasks.Shell>
         <hudson.tasks.Shell>