Skip to content

Commit e4e4455

Browse files
committed
Re-testing Ubuntu Jammy
1 parent 6fe1b50 commit e4e4455

File tree

1 file changed

+65
-65
lines changed

1 file changed

+65
-65
lines changed

ci/jenkins/Jenkinsfile.groovy

Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -24,71 +24,71 @@ pipeline {
2424
stage('Build') {
2525
parallel {
2626
// Broken: java.io.IOException: Failed to run image '692f7cce9b970633dba347a9aaf12846429c073f'. Error: docker: Error // response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: chdir to cwd ("/home/jenkins/build/workspace/restc-staging") set in config.json failed: permission denied: unknown.
27-
// stage('Ubuntu Jammy') {
28-
// agent {
29-
// dockerfile {
30-
// filename 'Dockefile.ubuntu-jammy'
31-
// dir 'ci/jenkins'
32-
// label 'docker'
33-
// }
34-
// }
35-
//
36-
// options {
37-
// timeout(time: 30, unit: "MINUTES")
38-
// }
39-
//
40-
// steps {
41-
// echo "Building on ubuntu-jammy-AMD64 in ${WORKSPACE}"
42-
// checkout scm
43-
// sh 'pwd; ls -la'
44-
// sh 'rm -rf build'
45-
// sh 'mkdir build'
46-
// sh 'cd build && cmake -DCMAKE_BUILD_TYPE=Release -DRESTC_CPP_USE_CPP17=ON .. && make -j $(nproc)'
47-
//
48-
// echo 'Getting ready to run tests'
49-
// script {
50-
// try {
51-
// sh 'cd build && ctest --no-compress-output -T Test'
52-
// } catch (exc) {
53-
//
54-
// unstable(message: "${STAGE_NAME} - Testing failed")
55-
// }
56-
// }
57-
// }
58-
// }
59-
//
60-
// stage('Ubuntu Jammy MT CTX') {
61-
// agent {
62-
// dockerfile {
63-
// filename 'Dockefile.ubuntu-jammy'
64-
// dir 'ci/jenkins'
65-
// label 'docker'
66-
// }
67-
// }
68-
//
69-
// options {
70-
// timeout(time: 30, unit: "MINUTES")
71-
// }
72-
//
73-
// steps {
74-
// echo "Building on ubuntu-jammy-AMD64 in ${WORKSPACE}"
75-
// checkout scm
76-
// sh 'pwd; ls -la'
77-
// sh 'rm -rf build'
78-
// sh 'mkdir build'
79-
// sh 'cd build && cmake -DRESTC_CPP_THREADED_CTX=ON -DCMAKE_BUILD_TYPE=Release -DRESTC_CPP_USE_CPP17=ON .. && make -j $(nproc)'
80-
//
81-
// echo 'Getting ready to run tests'
82-
// script {
83-
// try {
84-
// sh 'cd build && ctest --no-compress-output -T Test'
85-
// } catch (exc) {
86-
//
87-
// unstable(message: "${STAGE_NAME} - Testing failed")
88-
// }
89-
// }
90-
// }
91-
// }
27+
stage('Ubuntu Jammy') {
28+
agent {
29+
dockerfile {
30+
filename 'Dockefile.ubuntu-jammy'
31+
dir 'ci/jenkins'
32+
label 'docker'
33+
}
34+
}
35+
36+
options {
37+
timeout(time: 30, unit: "MINUTES")
38+
}
39+
40+
steps {
41+
echo "Building on ubuntu-jammy-AMD64 in ${WORKSPACE}"
42+
checkout scm
43+
sh 'pwd; ls -la'
44+
sh 'rm -rf build'
45+
sh 'mkdir build'
46+
sh 'cd build && cmake -DCMAKE_BUILD_TYPE=Release -DRESTC_CPP_USE_CPP17=ON .. && make -j $(nproc)'
47+
48+
echo 'Getting ready to run tests'
49+
script {
50+
try {
51+
sh 'cd build && ctest --no-compress-output -T Test'
52+
} catch (exc) {
53+
54+
unstable(message: "${STAGE_NAME} - Testing failed")
55+
}
56+
}
57+
}
58+
}
59+
60+
stage('Ubuntu Jammy MT CTX') {
61+
agent {
62+
dockerfile {
63+
filename 'Dockefile.ubuntu-jammy'
64+
dir 'ci/jenkins'
65+
label 'docker'
66+
}
67+
}
68+
69+
options {
70+
timeout(time: 30, unit: "MINUTES")
71+
}
72+
73+
steps {
74+
echo "Building on ubuntu-jammy-AMD64 in ${WORKSPACE}"
75+
checkout scm
76+
sh 'pwd; ls -la'
77+
sh 'rm -rf build'
78+
sh 'mkdir build'
79+
sh 'cd build && cmake -DRESTC_CPP_THREADED_CTX=ON -DCMAKE_BUILD_TYPE=Release -DRESTC_CPP_USE_CPP17=ON .. && make -j $(nproc)'
80+
81+
echo 'Getting ready to run tests'
82+
script {
83+
try {
84+
sh 'cd build && ctest --no-compress-output -T Test'
85+
} catch (exc) {
86+
87+
unstable(message: "${STAGE_NAME} - Testing failed")
88+
}
89+
}
90+
}
91+
}
9292

9393
stage('Ubuntu Xenial') {
9494
agent {

0 commit comments

Comments
 (0)