Skip to content

Commit 9e64222

Browse files
author
yaroslaw.ekimov
committed
one more try to check creds
1 parent 01ee05b commit 9e64222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JenkinsfileRelease

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ node('words-linux') {
1717
}
1818
withCredentials([usernamePassword(credentialsId: 'f0c4f9b6-8ffe-4ea8-8981-e99263fdb788', passwordVariable: 'mavenPass', usernameVariable: 'mavenUser')]) {
1919
sh 'echo "<settings xmlns=\\"http://maven.apache.org/SETTINGS/1.0.0\\" \\n xmlns:xsi=\\"http://www.w3.org/2001/XMLSchema-instance\\" \\n xsi:schemaLocation=\\"http://maven.apache.org/SETTINGS/1.0.0\\"> \\n<servers> \\n <server> \\n<id>aspose</id>\\n<username>${mavenUser}</username>\\n<password>${mavenPass}</password>\\n</server>\\n</servers>\\n</settings>" > wordsSettings.xml'
20-
sh 'cat wordsSettings.xml'
2120
}
2221
}
2322
}
@@ -31,6 +30,7 @@ node('words-linux') {
3130
sh 'mkdir -p Settings'
3231
sh 'echo "{\\"AppSid\\": \\"$AppSid\\",\\"AppKey\\": \\"$AppKey\\", \\"BaseUrl\\": \\"$testServerUrl\\"}" > Settings/servercreds.json'
3332
}
33+
sh 'cat wordsSettings.xml'
3434
sh "mvn --settings wordsSettings.xml deploy -DcheckModificationExcludeList=wordsSettings.xml,Settings/servercreds.json"
3535
}
3636
}

0 commit comments

Comments
 (0)