Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 7b2527e

Browse files
authored
Remove unit tests from Jenkins pipelines. (#492)
Unit tests are covered by GitHub Actions workflow.
1 parent 56ae6b5 commit 7b2527e

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

test/conference.jenkinsfile

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,6 @@ pipeline {
1717
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
1818
}
1919
stages {
20-
stage('Unit test') {
21-
steps {
22-
podTemplate(name: 'unit-js-centos-'+env.GIT_BRANCH, label: 'unit-js-centos-'+env.GIT_BRANCH, cloud: 'kubernetes', containers: [
23-
containerTemplate(name: 'test-images', image: "$env.centos_test_images", ttyEnabled: true, alwaysPullImage: true, privileged: true, resourceRequestCpu: '1000m', resourceLimitCpu: '2000m', resourceRequestMemory: '1.0Gi', resourceLimitMemory: '2.0Gi',command: 'cat')
24-
]) {
25-
node('unit-js-centos-'+env.GIT_BRANCH) {
26-
container('test-images') {
27-
sh "cd /root/owt-client-javascript/test/unit/karma-test/ && ./start.sh $env.GIT_BRANCH $env.CHANGE_ID"
28-
}
29-
}
30-
}
31-
}
32-
}
3320
stage('Build package') {
3421
options { timeout(time: 20, unit: 'MINUTES') }
3522
steps {

test/ubuntuconference.jenkinsfile

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,6 @@ pipeline {
1717
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
1818
}
1919
stages {
20-
stage('Unit test') {
21-
steps {
22-
podTemplate(name: 'unit-js-ubuntu-'+env.GIT_BRANCH, label: 'unit-js-ubuntu-'+env.GIT_BRANCH, cloud: 'kubernetes', containers: [
23-
containerTemplate(name: 'test-images', image: "$env.ubuntu_test_images", ttyEnabled: true, alwaysPullImage: true, privileged: true, resourceRequestCpu: '1000m', resourceLimitCpu: '2000m',resourceRequestMemory: '1.0Gi', resourceLimitMemory: '2.0Gi', command: 'cat')
24-
]) {
25-
node('unit-js-ubuntu-'+env.GIT_BRANCH) {
26-
container('test-images') {
27-
sh "cd /root/owt-client-javascript/test/unit/karma-test/ && ./start.sh $env.GIT_BRANCH $env.CHANGE_ID"
28-
}
29-
}
30-
}
31-
}
32-
}
3320
stage('Build package') {
3421
options { timeout(time: 20, unit: 'MINUTES') }
3522
steps {

0 commit comments

Comments
 (0)