@@ -17,19 +17,19 @@ pipeline {
1717 }
1818 stage('build and test') {
1919 parallel {
20- stage('ln8.1 ') {
20+ stage('ln8.2 ') {
2121 agent { label 'centos7' }
2222 stages {
2323 stage('php') {
2424 steps {
2525 sh(script: 'sudo yum install -y openssl-libs openssl11-libs', returnStatus: true)
2626 cleanWs()
27- sh('cbdep --debug install --dir /tmp/php php-nts 8.1.0-cb6 ')
27+ sh('cbdep --debug install --dir /tmp/php php-nts 8.2.29-cb4 ')
2828 }
2929 }
3030 stage('lcb') {
3131 steps {
32- dir('8.1.0 -nts-x64') {
32+ dir('8.2.29 -nts-x64') {
3333 sh('cbdep --debug install --base-url http://sdk-snapshots.couchbase.com/cbdeps libcouchbase 3.3.1-cb1')
3434 sh('mv install/libcouchbase-3.3.1-cb1/libcouchbase-centos7-x86_64-3.3.1-cb1 install/libcouchbase-linux-amd64')
3535 sh('rm -rf install/libcouchbase-linux-amd64/lib; ln -sf \$(realpath install/libcouchbase-linux-amd64/lib64) install/libcouchbase-linux-amd64/lib')
@@ -39,11 +39,11 @@ pipeline {
3939 }
4040 stage('build') {
4141 steps {
42- dir('8.1.0 -nts-x64') {
42+ dir('8.2.29 -nts-x64') {
4343 unstash 'php-couchbase'
4444 dir('php-couchbase') {
45- sh('/tmp/php/php-nts-8.1.0-cb6 /bin/phpize')
46- sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-nts-8.1.0-cb6 /bin/php-config")
45+ sh('/tmp/php/php-nts-8.2.29-cb4 /bin/phpize')
46+ sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-nts-8.2.29-cb4 /bin/php-config")
4747 sh('make clean all')
4848 }
4949 }
@@ -54,27 +54,27 @@ pipeline {
5454 timeout(time: 15, unit: 'MINUTES')
5555 }
5656 steps {
57- dir('8.1.0 -nts-x64/php-couchbase') {
57+ dir('8.2.29 -nts-x64/php-couchbase') {
5858 sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
59- sh("CB_MOCK=1 /tmp/php/php-nts-8.1.0-cb6 /bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-nts-8.1.0-cb6 /phpunit.phar --debug tests/")
59+ sh("CB_MOCK=1 /tmp/php/php-nts-8.2.29-cb4 /bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-nts-8.2.29-cb4 /phpunit.phar --debug tests/")
6060 }
6161 }
6262 }
6363 }
6464 }
65- stage('lz8.1 ') {
65+ stage('lz8.2 ') {
6666 agent { label 'centos7' }
6767 stages {
6868 stage('php') {
6969 steps {
7070 sh(script: 'sudo yum install -y openssl-libs openssl11-libs', returnStatus: true)
7171 cleanWs()
72- sh('cbdep --debug install --dir /tmp/php php-zts 8.1.0-cb6 ')
72+ sh('cbdep --debug install --dir /tmp/php php-zts 8.2.29-cb4 ')
7373 }
7474 }
7575 stage('lcb') {
7676 steps {
77- dir('8.1.0 -zts-x64') {
77+ dir('8.2.29 -zts-x64') {
7878 sh('cbdep --debug install --base-url http://sdk-snapshots.couchbase.com/cbdeps libcouchbase 3.3.1-cb1')
7979 sh('mv install/libcouchbase-3.3.1-cb1/libcouchbase-centos7-x86_64-3.3.1-cb1 install/libcouchbase-linux-amd64')
8080 sh('rm -rf install/libcouchbase-linux-amd64/lib; ln -sf \$(realpath install/libcouchbase-linux-amd64/lib64) install/libcouchbase-linux-amd64/lib')
@@ -84,11 +84,11 @@ pipeline {
8484 }
8585 stage('build') {
8686 steps {
87- dir('8.1.0 -zts-x64') {
87+ dir('8.2.29 -zts-x64') {
8888 unstash 'php-couchbase'
8989 dir('php-couchbase') {
90- sh('/tmp/php/php-zts-8.1.0-cb6 /bin/phpize')
91- sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-zts-8.1.0-cb6 /bin/php-config")
90+ sh('/tmp/php/php-zts-8.2.29-cb4 /bin/phpize')
91+ sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-zts-8.2.29-cb4 /bin/php-config")
9292 sh('make clean all')
9393 }
9494 }
@@ -99,189 +99,9 @@ pipeline {
9999 timeout(time: 15, unit: 'MINUTES')
100100 }
101101 steps {
102- dir('8.1.0 -zts-x64/php-couchbase') {
102+ dir('8.2.29 -zts-x64/php-couchbase') {
103103 sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
104- sh("CB_MOCK=1 /tmp/php/php-zts-8.1.0-cb6/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-zts-8.1.0-cb6/phpunit.phar --debug tests/")
105- }
106- }
107- }
108- }
109- }
110- stage('ln8.0') {
111- agent { label 'centos7' }
112- stages {
113- stage('php') {
114- steps {
115- sh(script: 'sudo yum install -y openssl-libs openssl11-libs', returnStatus: true)
116- cleanWs()
117- sh('cbdep --debug install --dir /tmp/php php-nts 8.0.13-cb6')
118- }
119- }
120- stage('lcb') {
121- steps {
122- dir('8.0.13-nts-x64') {
123- sh('cbdep --debug install --base-url http://sdk-snapshots.couchbase.com/cbdeps libcouchbase 3.3.1-cb1')
124- sh('mv install/libcouchbase-3.3.1-cb1/libcouchbase-centos7-x86_64-3.3.1-cb1 install/libcouchbase-linux-amd64')
125- sh('rm -rf install/libcouchbase-linux-amd64/lib; ln -sf \$(realpath install/libcouchbase-linux-amd64/lib64) install/libcouchbase-linux-amd64/lib')
126- sh('LD_LIBRARY_PATH=\$(realpath install/libcouchbase-linux-amd64/lib) install/libcouchbase-linux-amd64/bin/cbc version')
127- }
128- }
129- }
130- stage('build') {
131- steps {
132- dir('8.0.13-nts-x64') {
133- unstash 'php-couchbase'
134- dir('php-couchbase') {
135- sh('/tmp/php/php-nts-8.0.13-cb6/bin/phpize')
136- sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-nts-8.0.13-cb6/bin/php-config")
137- sh('make clean all')
138- }
139- }
140- }
141- }
142- stage('test') {
143- options {
144- timeout(time: 15, unit: 'MINUTES')
145- }
146- steps {
147- dir('8.0.13-nts-x64/php-couchbase') {
148- sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
149- sh("CB_MOCK=1 /tmp/php/php-nts-8.0.13-cb6/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-nts-8.0.13-cb6/phpunit.phar --debug tests/")
150- }
151- }
152- }
153- }
154- }
155- stage('lz8.0') {
156- agent { label 'centos7' }
157- stages {
158- stage('php') {
159- steps {
160- sh(script: 'sudo yum install -y openssl-libs openssl11-libs', returnStatus: true)
161- cleanWs()
162- sh('cbdep --debug install --dir /tmp/php php-zts 8.0.13-cb6')
163- }
164- }
165- stage('lcb') {
166- steps {
167- dir('8.0.13-zts-x64') {
168- sh('cbdep --debug install --base-url http://sdk-snapshots.couchbase.com/cbdeps libcouchbase 3.3.1-cb1')
169- sh('mv install/libcouchbase-3.3.1-cb1/libcouchbase-centos7-x86_64-3.3.1-cb1 install/libcouchbase-linux-amd64')
170- sh('rm -rf install/libcouchbase-linux-amd64/lib; ln -sf \$(realpath install/libcouchbase-linux-amd64/lib64) install/libcouchbase-linux-amd64/lib')
171- sh('LD_LIBRARY_PATH=\$(realpath install/libcouchbase-linux-amd64/lib) install/libcouchbase-linux-amd64/bin/cbc version')
172- }
173- }
174- }
175- stage('build') {
176- steps {
177- dir('8.0.13-zts-x64') {
178- unstash 'php-couchbase'
179- dir('php-couchbase') {
180- sh('/tmp/php/php-zts-8.0.13-cb6/bin/phpize')
181- sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-zts-8.0.13-cb6/bin/php-config")
182- sh('make clean all')
183- }
184- }
185- }
186- }
187- stage('test') {
188- options {
189- timeout(time: 15, unit: 'MINUTES')
190- }
191- steps {
192- dir('8.0.13-zts-x64/php-couchbase') {
193- sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
194- sh("CB_MOCK=1 /tmp/php/php-zts-8.0.13-cb6/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-zts-8.0.13-cb6/phpunit.phar --debug tests/")
195- }
196- }
197- }
198- }
199- }
200- stage('ln7.4') {
201- agent { label 'centos7' }
202- stages {
203- stage('php') {
204- steps {
205- sh(script: 'sudo yum install -y openssl-libs openssl11-libs', returnStatus: true)
206- cleanWs()
207- sh('cbdep --debug install --dir /tmp/php php-nts 7.4.26-cb6')
208- }
209- }
210- stage('lcb') {
211- steps {
212- dir('7.4.26-nts-x64') {
213- sh('cbdep --debug install --base-url http://sdk-snapshots.couchbase.com/cbdeps libcouchbase 3.3.1-cb1')
214- sh('mv install/libcouchbase-3.3.1-cb1/libcouchbase-centos7-x86_64-3.3.1-cb1 install/libcouchbase-linux-amd64')
215- sh('rm -rf install/libcouchbase-linux-amd64/lib; ln -sf \$(realpath install/libcouchbase-linux-amd64/lib64) install/libcouchbase-linux-amd64/lib')
216- sh('LD_LIBRARY_PATH=\$(realpath install/libcouchbase-linux-amd64/lib) install/libcouchbase-linux-amd64/bin/cbc version')
217- }
218- }
219- }
220- stage('build') {
221- steps {
222- dir('7.4.26-nts-x64') {
223- unstash 'php-couchbase'
224- dir('php-couchbase') {
225- sh('/tmp/php/php-nts-7.4.26-cb6/bin/phpize')
226- sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-nts-7.4.26-cb6/bin/php-config")
227- sh('make clean all')
228- }
229- }
230- }
231- }
232- stage('test') {
233- options {
234- timeout(time: 15, unit: 'MINUTES')
235- }
236- steps {
237- dir('7.4.26-nts-x64/php-couchbase') {
238- sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
239- sh("CB_MOCK=1 /tmp/php/php-nts-7.4.26-cb6/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-nts-7.4.26-cb6/phpunit.phar --debug tests/")
240- }
241- }
242- }
243- }
244- }
245- stage('lz7.4') {
246- agent { label 'centos7' }
247- stages {
248- stage('php') {
249- steps {
250- sh(script: 'sudo yum install -y openssl-libs openssl11-libs', returnStatus: true)
251- cleanWs()
252- sh('cbdep --debug install --dir /tmp/php php-zts 7.4.26-cb6')
253- }
254- }
255- stage('lcb') {
256- steps {
257- dir('7.4.26-zts-x64') {
258- sh('cbdep --debug install --base-url http://sdk-snapshots.couchbase.com/cbdeps libcouchbase 3.3.1-cb1')
259- sh('mv install/libcouchbase-3.3.1-cb1/libcouchbase-centos7-x86_64-3.3.1-cb1 install/libcouchbase-linux-amd64')
260- sh('rm -rf install/libcouchbase-linux-amd64/lib; ln -sf \$(realpath install/libcouchbase-linux-amd64/lib64) install/libcouchbase-linux-amd64/lib')
261- sh('LD_LIBRARY_PATH=\$(realpath install/libcouchbase-linux-amd64/lib) install/libcouchbase-linux-amd64/bin/cbc version')
262- }
263- }
264- }
265- stage('build') {
266- steps {
267- dir('7.4.26-zts-x64') {
268- unstash 'php-couchbase'
269- dir('php-couchbase') {
270- sh('/tmp/php/php-zts-7.4.26-cb6/bin/phpize')
271- sh("./configure --with-couchbase=\$(realpath ../install/libcouchbase-linux-amd64) --with-php-config=/tmp/php/php-zts-7.4.26-cb6/bin/php-config")
272- sh('make clean all')
273- }
274- }
275- }
276- }
277- stage('test') {
278- options {
279- timeout(time: 15, unit: 'MINUTES')
280- }
281- steps {
282- dir('7.4.26-zts-x64/php-couchbase') {
283- sh('sudo yum install --disablerepo=bintray* -y libnsl oniguruma')
284- sh("CB_MOCK=1 /tmp/php/php-zts-7.4.26-cb6/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-zts-7.4.26-cb6/phpunit.phar --debug tests/")
104+ sh("CB_MOCK=1 /tmp/php/php-zts-8.2.29-cb4/bin/php -d extension=\$(pwd)/modules/couchbase.so -d couchbase.log_level=TRACE /tmp/php/php-zts-8.2.29-cb4/phpunit.phar --debug tests/")
285105 }
286106 }
287107 }
0 commit comments