Changeset b8eadb55 in OpenModelica


Ignore:
Timestamp:
2021-01-22T13:43:16+01:00 (3 years ago)
Author:
Andreas <38031952+AnHeuermann@…>
Branches:
Added-citation-metadata, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, maintenance/v1.23, master, omlib-staging
Children:
60f3fc1
Parents:
c2c52350
git-author:
AnHeuermann <andreas.heuermann@…> (01/13/21 16:03:31)
git-committer:
Andreas <38031952+AnHeuermann@…> (01/22/21 13:43:16)
Message:

Replace CI test for CentOS6 with CentOS7

  • CentOS6 reached end of live
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • .CI/cache-centos7/Dockerfile

    red7d72eb rb8eadb55  
    1 FROM docker.openmodelica.org/build-deps:el6.amd64
     1FROM docker.openmodelica.org/build-deps:el7.amd64
    22
    33# Install git, zip
  • .CI/common.groovy

    ra281635 rb8eadb55  
    466466}
    467467
    468 def shouldWeBuildCENTOS6() {
     468def shouldWeBuildCENTOS7() {
    469469  if (isPR()) {
    470470    if (pullRequest.labels.contains("CI/Build CentOS")) {
     
    472472    }
    473473  }
    474   return params.BUILD_CENTOS6
     474  return params.BUILD_CENTOS7
    475475}
    476476
  • Jenkinsfile

    ra281635 rb8eadb55  
    22def shouldWeBuildOSX
    33def shouldWeBuildMINGW
    4 def shouldWeBuildCENTOS6
     4def shouldWeBuildCENTOS7
    55def shouldWeRunTests
    66def isPR
     
    1616    booleanParam(name: 'BUILD_OSX', defaultValue: false, description: 'Build with OSX')
    1717    booleanParam(name: 'BUILD_MINGW', defaultValue: false, description: 'Build with Win/MinGW')
    18     booleanParam(name: 'BUILD_CENTOS6', defaultValue: false, description: 'Build on CentOS6 with CMake2.8')
     18    booleanParam(name: 'BUILD_CENTOS7', defaultValue: false, description: 'Build on CentOS7 with CMake 2.8')
    1919  }
    2020  // stages are ordered according to execution time; highest time first
     
    3939          shouldWeBuildMINGW = common.shouldWeBuildMINGW()
    4040          print "shouldWeBuildMINGW: ${shouldWeBuildMINGW}"
    41           shouldWeBuildCENTOS6 = common.shouldWeBuildCENTOS6()
    42           print "shouldWeBuildCENTOS6: ${shouldWeBuildCENTOS6}"
     41          shouldWeBuildCENTOS7 = common.shouldWeBuildCENTOS7()
     42          print "shouldWeBuildCENTOS7: ${shouldWeBuildCENTOS7}"
    4343          shouldWeRunTests = common.shouldWeRunTests()
    4444          print "shouldWeRunTests: ${shouldWeRunTests}"
     
    145145          }
    146146        }
    147         stage('CentOS6') {
     147        stage('CentOS7') {
    148148          agent {
    149149            dockerfile {
    150150              additionalBuildArgs '--pull'
    151               dir '.CI/cache-centos6'
     151              dir '.CI/cache-centos7'
    152152              label 'linux'
    153153              args "-v /var/lib/jenkins/gitcache:/var/lib/jenkins/gitcache"
     
    156156          when {
    157157            beforeAgent true
    158             expression { shouldWeBuildCENTOS6 }
     158            expression { shouldWeBuildCENTOS7 }
    159159          }
    160160          environment {
     
    170170                false)  // Building C++ runtime doesn't work at the moment
    171171            }
    172             //stash name: 'omc-centos6', includes: 'build/**, **/config.status'
     172            //stash name: 'omc-centos7', includes: 'build/**, **/config.status'
    173173          }
    174174        }
Note: See TracChangeset for help on using the changeset viewer.