Skip to content

Commit 012332e

Browse files
update release command
1 parent 5e1b441 commit 012332e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

JenkinsfileRelease

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ parameters {
44
string(name: 'testServerUrl', defaultValue: 'https://api-qa.aspose.cloud', description: 'server url')
55
string(name: 'credentialsId', defaultValue: '6839cbe8-39fa-40c0-86ce-90706f0bae5d', description: 'credentials id')
66
string(name: 'releaseCredentialsId', defaultValue: 'f0c4f9b6-8ffe-4ea8-8981-e99263fdb788', description: 'release credentials id')
7-
string(name: 'serverToDeploy', defaultValue: 'aspose-cloud-s3-repo-ci', description: 'where to deploy')
7+
string(name: 'serverToDeploy', defaultValue: '-DuseStageRepo=true', description: 'possible values are -DuseStageRepo=true or false')
88
}
99
node('words-linux') {
1010
try {
@@ -49,7 +49,7 @@ node('words-linux') {
4949
sh 'echo "{\\"ClientId\\": \\"$ClientId\\",\\"ClientSecret\\": \\"$ClientSecret\\", \\"BaseUrl\\": \\"$testServerUrl\\"}" > Settings/servercreds.json'
5050
}
5151
sh 'cat wordsSettings.xml'
52-
sh "mvn --settings wordsSettings.xml deploy -Dmaven.javadoc.skip=true -DcheckModificationExcludeList=wordsSettings.xml,Settings/servercreds.json"
52+
sh "mvn --settings wordsSettings.xml deploy -Dmaven.javadoc.skip=true -DcheckModificationExcludeList=wordsSettings.xml,Settings/servercreds.json -DuseStageRepo=true"
5353
}
5454
}
5555
}

0 commit comments

Comments
 (0)