$79 GRAYBYTE WORDPRESS FILE MANAGER $65

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/cpanel/ea-ruby27/src/passenger-release-6.1.2/dev/ci/tests/rpm/

HOME
Current File : /opt/cpanel/ea-ruby27/src/passenger-release-6.1.2/dev/ci/tests/rpm//Jenkinsfile
def setupTest(enablerFlag, distribution, rpmArch, dockerArch, block) {
  if (enablerFlag) {
    node("linux && ${rpmArch}") {
      withEnv([
        "CACHE_DIR=${env.JENKINS_HOME}/cache/${env.JOB_NAME}/${distribution}-${rpmArch}",
        "DISTRIBUTION=${distribution}",
        "RPM_ARCH=${rpmArch}",
        "DOCKER_ARCH=${dockerArch}"
      ], block)
    }
  } else {
    echo 'Test skipped.'
  }
}

pipeline {
  agent { node { label 'master-pipeline' } }

  options {
    buildDiscarder(logRotator(numToKeepStr: '10'))
    timeout(time: 45, unit: 'MINUTES')
    disableConcurrentBuilds()
    timestamps()
  }

  parameters {
    booleanParam(name: 'EL8', defaultValue: true, description: 'RHEL 8 tests')
    booleanParam(name: 'EL9', defaultValue: true, description: 'RHEL 9 tests')
  }

  stages {
    stage('Initialize') {
      steps {
        script {
          if (env.JOB_NAME.indexOf('Enterprise') != -1) {
            env.ENTERPRISE = '1'
          } else {
            env.ENTERPRISE = '0'
          }

          // For debugging purposes
          sh 'env | sort'
        }
      }
    }

    stage('Test') {
      steps {
        script {
          parallel(
            'el8 x86_64': {
              setupTest(params.EL8, 'el8', 'x86_64', 'amd64') {
                checkout scm
                sh './dev/ci/tests/rpm/run'
              }
            },
            'el9 x86_64': {
              setupTest(params.EL9, 'el9', 'x86_64', 'amd64') {
                checkout scm
                sh './dev/ci/tests/rpm/run'
              }
            },
            'el8 aarch64': {
              setupTest(params.EL8, 'el8', 'aarch64', 'arm64') {
                checkout scm
                sh './dev/ci/tests/rpm/run'
              }
            },
            'el9 aarch64': {
              setupTest(params.EL9, 'el9', 'aarch64', 'arm64') {
                checkout scm
                sh './dev/ci/tests/rpm/run'
              }
            }
          )
        }
      }
    }
  }
}


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
13 Feb 2026 9.30 AM
root / root
0755
Jenkinsfile
1.957 KB
27 Jan 2026 11.50 PM
root / root
0644
run
1.759 KB
27 Jan 2026 11.50 PM
root / root
0755

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF