Skip to content
Permalink
Browse files

Drop build and unit tests with OpenEdge 10

  • Loading branch information...
gquerret committed Aug 7, 2019
1 parent d928f7a commit 1836091f1d14835e2e192aeadfa34d1c1ca85250
Showing with 6 additions and 17 deletions.
  1. +6 −17 Jenkinsfile
@@ -23,47 +23,36 @@ stage('Standard build') {

def jdk = tool name: 'JDK8', type: 'jdk'
def antHome = tool name: 'Ant 1.9', type: 'ant'
def dlc10 = tool name: 'OpenEdge-10.2B', type: 'openedge'
def dlc10_64 = tool name: 'OpenEdge-10.2B-64b', type: 'openedge'
def dlc11 = tool name: 'OpenEdge-11.7', type: 'openedge'
def dlc12 = tool name: 'OpenEdge-12.0', type: 'openedge'

unstash name: 'classdoc'
withEnv(["TERM=xterm", "JAVA_HOME=${jdk}"]) {
sh "${antHome}/bin/ant -DDLC10=${dlc10} -DDLC10-64=${dlc10_64} -DDLC11=${dlc11} -DDLC12=${dlc12} -DGIT_COMMIT=${commit} dist"
sh "${antHome}/bin/ant -DDLC11=${dlc11} -DDLC12=${dlc12} -DGIT_COMMIT=${commit} dist"
}
stash name: 'tests', includes: 'dist/PCT.jar,dist/testcases.zip,tests.xml'
archiveArtifacts 'dist/PCT.jar,dist/PCT-javadoc.jar,dist/PCT-sources.jar'
}
}

stage('Full tests') {
parallel branch1: { testBranch('windows', 'JDK8', 'Ant 1.9', 'OpenEdge-10.2B', false, '10.2-Win') },
branch2: { testBranch('windows', 'JDK8', 'Ant 1.9', 'OpenEdge-11.7', true, '11.7-Win') },
branch3: { testBranch('linux', 'JDK8', 'Ant 1.9', 'OpenEdge-10.2B-64b', false, '10.2-64-Linux') },
branch4: { testBranch('linux', 'JDK8', 'Ant 1.9', 'OpenEdge-11.6', false, '11.6-Linux') },
branch5: { testBranch('linux', 'JDK8', 'Ant 1.9', 'OpenEdge-11.7', false, '11.7-Linux') },
branch6: { testBranch('linux', 'JDK8', 'Ant 1.9', 'OpenEdge-10.2B', false, '10.2-Linux') },
branch7: { testBranch('linux', 'Corretto 8', 'Ant 1.10', 'OpenEdge-12.0', false, '12.0-Linux') },
branch8: { testBranch('windows', 'Corretto 8', 'Ant 1.10', 'OpenEdge-12.0', true, '12.0-Win') },
parallel branch1: { testBranch('windows', 'JDK8', 'Ant 1.9', 'OpenEdge-11.7', true, '11.7-Win') },
branch2: { testBranch('linux', 'JDK8', 'Ant 1.9', 'OpenEdge-11.6', false, '11.6-Linux') },
branch3: { testBranch('linux', 'JDK8', 'Ant 1.9', 'OpenEdge-11.7', false, '11.7-Linux') },
branch4: { testBranch('linux', 'Corretto 8', 'Ant 1.10', 'OpenEdge-12.0', false, '12.0-Linux') },
branch5: { testBranch('windows', 'Corretto 8', 'Ant 1.10', 'OpenEdge-12.0', true, '12.0-Win') },
failFast: false

node('linux') {
// Wildcards not accepted in unstash...
unstash name: 'junit-10.2-Win'
unstash name: 'junit-11.7-Win'
unstash name: 'junit-10.2-Linux'
unstash name: 'junit-10.2-64-Linux'
unstash name: 'junit-11.6-Linux'
unstash name: 'junit-11.7-Linux'
unstash name: 'junit-12.0-Linux'
unstash name: 'junit-12.0-Win'

sh "mkdir junitreports"
unzip zipFile: 'junitreports-10.2-Win.zip', dir: 'junitreports'
unzip zipFile: 'junitreports-11.7-Win.zip', dir: 'junitreports'
unzip zipFile: 'junitreports-10.2-Linux.zip', dir: 'junitreports'
unzip zipFile: 'junitreports-10.2-64-Linux.zip', dir: 'junitreports'
unzip zipFile: 'junitreports-11.6-Linux.zip', dir: 'junitreports'
unzip zipFile: 'junitreports-11.7-Linux.zip', dir: 'junitreports'
unzip zipFile: 'junitreports-12.0-Linux.zip', dir: 'junitreports'

0 comments on commit 1836091

Please sign in to comment.
You can’t perform that action at this time.