Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Juee14Desai committed Jul 20, 2023
1 parent d572c9b commit 2647b1c
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions contrib/intel/jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import groovy.transform.Field
properties([disableConcurrentBuilds(abortPrevious: true)])
def DO_RUN=1
def TARGET="main"
def SCRIPT_LOCATION="py_scripts/contrib/intel/jenkins"
def SCRIPT_LOCATION="contrib/intel/jenkins"
def RELEASE=0
@Field def BUILD_MODES=["reg", "dbg", "dl"]
@Field def MPI_TYPES=["impi", "mpich", "ompi"]
Expand Down Expand Up @@ -160,7 +160,7 @@ pipeline {
}

stages {
stage ('opt-out') {
/*stage ('opt-out') {
steps {
script {
TARGET=check_target()
Expand All @@ -172,7 +172,7 @@ pipeline {
RELEASE=release()
}
}
}
}*/
stage ('parallel-builds') {
when { equals expected: 1, actual: DO_RUN }
parallel {
Expand Down Expand Up @@ -207,7 +207,7 @@ pipeline {
}
}
}
stage ('build-daos') {
/* stage ('build-daos') {
agent {
node {
label 'daos_head'
Expand Down Expand Up @@ -241,8 +241,8 @@ pipeline {
--build_item=fabtests""")
}
}
}
stage ('build-dsa') {
}*/
/*stage ('build-dsa') {
agent {
node {
label 'dsa'
Expand All @@ -267,7 +267,7 @@ pipeline {
"""
}
}
}
}*/
stage ('build-gpu') {
agent {
node {
Expand Down Expand Up @@ -300,7 +300,7 @@ pipeline {
stage('parallel-tests') {
when { equals expected: 1, actual: DO_RUN }
parallel {
stage('MPI_verbs-rxm') {
/*stage('MPI_verbs-rxm') {
steps {
script {
dir ("${env.WORKSPACE}/${SCRIPT_LOCATION}/") {
Expand Down Expand Up @@ -465,7 +465,7 @@ pipeline {
steps {
script {
dir ("${env.WORKSPACE}/${SCRIPT_LOCATION}/") {
run_middleware([["tcp", "rxm"]/*, ["psm3", null]*/], "oneCCL",
run_middleware([["tcp", "rxm"]/*, ["psm3", null]*//*], "oneCCL",
"oneccl", "bulbasaur", "2")
}
}
Expand Down Expand Up @@ -518,7 +518,7 @@ pipeline {
}
}
}
}
}*/
stage ('DMABUF-Tests') {
agent { node { label 'ze' } }
options { skipDefaultCheckout() }
Expand All @@ -531,7 +531,7 @@ pipeline {
}
}
}
stage ('ze-shm') {
/*stage ('ze-shm') {
steps {
script {
dir ("${env.WORKSPACE}/${SCRIPT_LOCATION}/") {
Expand Down Expand Up @@ -611,7 +611,7 @@ pipeline {
"""
}
}
}
}*/
}
}
stage ('Summary') {
Expand Down Expand Up @@ -644,7 +644,7 @@ pipeline {
}
}
}
stage ('Summary-daos') {
/*stage ('Summary-daos') {
agent {node {label 'daos_head'}}
when { equals expected: 1, actual: DO_RUN }
steps {
Expand All @@ -657,7 +657,7 @@ pipeline {
"""
}
}
}
}*/
}

post {
Expand All @@ -667,7 +667,7 @@ pipeline {
}
}
success {
node ('daos_head') {
/*node ('daos_head') {
withEnv(['PATH+EXTRA=/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:$PYTHONPATH']) {
sh """
if [[ ${DO_RUN} -eq 1 ]]; then
Expand All @@ -678,15 +678,15 @@ pipeline {
deleteDir()
}
}
}
}*/
withEnv(['PATH+EXTRA=/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:$PYTHONPATH']) {
dir("${env.WORKSPACE}") {
sh "python3.9 ${env.WORKSPACE}/${SCRIPT_LOCATION}/summary.py -v --summary_item=all"
}
}
}
aborted {
node ('daos_head') {
/*node ('daos_head') {
withEnv(['PATH+EXTRA=/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:$PYTHONPATH']) {
dir ("${env.JOB_INSTALL_DIR}/${env.JOB_NAME}/${env.BUILD_NUMBER}/middlewares") {
deleteDir()
Expand All @@ -699,7 +699,7 @@ pipeline {
deleteDir()
}
}
}
}*/
node ('ze') {
withEnv(['PATH+EXTRA=/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:$PYTHONPATH']) {
dir ("${env.JOB_INSTALL_DIR}/${env.JOB_NAME}/${env.BUILD_NUMBER}/middlewares") {
Expand All @@ -714,7 +714,7 @@ pipeline {
}
}
cleanup {
node ('daos_head') {
/*node ('daos_head') {
withEnv(['PATH+EXTRA=/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:$PYTHONPATH']) {
dir ("${env.JOB_INSTALL_DIR}/${env.JOB_NAME}/${env.BUILD_NUMBER}") {
deleteDir()
Expand All @@ -739,7 +739,7 @@ pipeline {
deleteDir()
}
}
}
}*/
node ('ze') {
withEnv(['PATH+EXTRA=/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:$PYTHONPATH']) {
dir ("${env.JOB_INSTALL_DIR}/${env.JOB_NAME}/${env.BUILD_NUMBER}") {
Expand Down Expand Up @@ -767,3 +767,4 @@ pipeline {
}
}
}

0 comments on commit 2647b1c

Please sign in to comment.