Skip to content

Commit 6d3d8e6

Browse files
authored
Use LinuxDocs image for ci (#3821)
* use LinuxDocs image * use venv * wip * revert
1 parent a241a35 commit 6d3d8e6

File tree

1 file changed

+15
-21
lines changed

1 file changed

+15
-21
lines changed

.ci/test.jenkins

+15-21
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!groovy​
22

3-
node('Linux') {
3+
node('LinuxDocs') {
44

55
String branch_name = env.BRANCH_NAME
66
// do not publish when the branch is a patch like release/2.0.1, just for minor release branches
@@ -24,26 +24,20 @@ node('Linux') {
2424
sh(script: cloneAndInstallConan)
2525
}
2626

27-
def docsImage = docker.image("conanio/ci-docs")
28-
29-
docsImage.inside {
30-
stage('Test build') {
31-
sh 'pip install -r requirements.txt && pip install -e conan_sources && conan --version'
32-
parallel html: {
33-
// for some reason even adding this to autodoc_mock_imports
34-
// does not work, se we have to install the real dependency
35-
sh(script: 'make html')
36-
},
37-
pdf: {
38-
sh(script: 'make latex')
39-
},
40-
spelling: {
41-
sh(script: 'make spelling')
42-
},
43-
linkcheck: {
44-
catchError(buildResult: 'SUCCESS', stageResult: 'UNSTABLE', message: 'Linkcheck failed! Please check links and fix broken ones.') {
45-
sh(script: 'make linkcheck')
46-
}
27+
stage('Test build') {
28+
sh 'pip install -r requirements.txt && pip install -e conan_sources && conan --version'
29+
parallel html: {
30+
sh(script: 'make html')
31+
},
32+
pdf: {
33+
sh(script: 'make latex')
34+
},
35+
spelling: {
36+
sh(script: 'make spelling')
37+
},
38+
linkcheck: {
39+
catchError(buildResult: 'SUCCESS', stageResult: 'UNSTABLE', message: 'Linkcheck failed! Please check links and fix broken ones.') {
40+
sh(script: 'make linkcheck')
4741
}
4842
}
4943
}

0 commit comments

Comments
 (0)