Skip to content

Commit 0b9892d

Browse files
WORDSCLOUD-1869 implemented
1 parent c1829ba commit 0b9892d

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

Jenkinsfile

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ properties([
66
[$class: 'StringParameterDefinition', name: 'apiUrl', defaultValue: 'https://api-qa.aspose.cloud', description: 'api url'],
77
[$class: 'BooleanParameterDefinition', name: 'ignoreCiSkip', defaultValue: false, description: 'ignore CI Skip'],
88
[$class: 'StringParameterDefinition', name: 'credentialsId', defaultValue: '6839cbe8-39fa-40c0-86ce-90706f0bae5d', description: 'credentials id'],
9+
[$class: 'BooleanParameterDefinition', name: 'packageTesting', defaultValue: false, description: 'Testing package from repository without local sources. Used for prodhealthcheck'],
910
]
1011
]
1112
])
@@ -35,6 +36,10 @@ def runtests(dockerImageVersion)
3536

3637
if (needToBuild) {
3738
docker.image('python:' + dockerImageVersion).inside('-u root'){
39+
if (params.packageTesting) {
40+
sh "rm -rf asposewordscloud"
41+
sh "mv requirements-test.txt requirements.txt"
42+
}
3843
stage('build'){
3944
sh "python -m pip install -r requirements.txt && python -m pip install -r test-requirements.txt"
4045
}

requirements-test.txt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
certifi >= 14.05.14
2+
six >= 1.10
3+
python_dateutil >= 2.5.3
4+
setuptools >= 21.0.0
5+
urllib3 >= 1.15.1
6+
requests-toolbelt >= 0.9.1
7+
pycryptodome >= 3.11.0
8+
aspose-words-cloud >=21.12.0

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ python_dateutil >= 2.5.3
44
setuptools >= 21.0.0
55
urllib3 >= 1.15.1
66
requests-toolbelt >= 0.9.1
7-
pycryptodome >= 3.11.0
7+
pycryptodome >= 3.11.0

0 commit comments

Comments
 (0)