diff --git a/test/conference.jenkinsfile b/test/conference.jenkinsfile index 12e496de..02c0b1b1 100644 --- a/test/conference.jenkinsfile +++ b/test/conference.jenkinsfile @@ -17,19 +17,6 @@ pipeline { buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')) } stages { - stage('Unit test') { - steps { - podTemplate(name: 'unit-js-centos-'+env.GIT_BRANCH, label: 'unit-js-centos-'+env.GIT_BRANCH, cloud: 'kubernetes', containers: [ - 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') - ]) { - node('unit-js-centos-'+env.GIT_BRANCH) { - container('test-images') { - sh "cd /root/owt-client-javascript/test/unit/karma-test/ && ./start.sh $env.GIT_BRANCH $env.CHANGE_ID" - } - } - } - } - } stage('Build package') { options { timeout(time: 20, unit: 'MINUTES') } steps { diff --git a/test/ubuntuconference.jenkinsfile b/test/ubuntuconference.jenkinsfile index ad968cbb..4d6d1ee8 100644 --- a/test/ubuntuconference.jenkinsfile +++ b/test/ubuntuconference.jenkinsfile @@ -17,19 +17,6 @@ pipeline { buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')) } stages { - stage('Unit test') { - steps { - podTemplate(name: 'unit-js-ubuntu-'+env.GIT_BRANCH, label: 'unit-js-ubuntu-'+env.GIT_BRANCH, cloud: 'kubernetes', containers: [ - 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') - ]) { - node('unit-js-ubuntu-'+env.GIT_BRANCH) { - container('test-images') { - sh "cd /root/owt-client-javascript/test/unit/karma-test/ && ./start.sh $env.GIT_BRANCH $env.CHANGE_ID" - } - } - } - } - } stage('Build package') { options { timeout(time: 20, unit: 'MINUTES') } steps {