Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEST ONLY TEST ONLY #8929

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions jenkins/Jenkinsfile-blossom.premerge
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,7 @@ pipeline {
container('gpu') {
timeout(time: 4, unit: 'HOURS') { // step only timeout for test run
try {
sh "$PREMERGE_SCRIPT mvn_verify"
step([$class : 'JacocoPublisher',
execPattern : '**/target/jacoco.exec',
classPattern : 'target/jacoco_classes/',
sourceInclusionPattern: '**/*.java,**/*.scala',
sourcePattern : sourcePattern
])
echo "$PREMERGE_SCRIPT mvn_verify"
} finally {
common.publishPytestResult(this, "${STAGE_NAME}")
common.printJVMCoreDumps(this)
Expand Down Expand Up @@ -227,7 +221,7 @@ pipeline {
container('gpu') {
timeout(time: 4, unit: 'HOURS') {
try {
sh "$PREMERGE_SCRIPT ci_2"
echo "$PREMERGE_SCRIPT ci_2"
} finally {
common.publishPytestResult(this, "${STAGE_NAME}")
common.printJVMCoreDumps(this)
Expand All @@ -245,6 +239,7 @@ pipeline {
steps {
script {
githubHelper.updateCommitStatus("$BUILD_URL", "Running - includes databricks", GitHubCommitState.PENDING)
/*
def DBJob = build(job: 'rapids-databricks_premerge-github',
propagate: false, wait: true,
parameters: [
Expand All @@ -257,6 +252,7 @@ pipeline {
// Fail the pipeline
error "Databricks build result : " + DBJob.result
}
*/
}
}
} // end of Databricks
Expand Down Expand Up @@ -306,7 +302,7 @@ void uploadDocker(String IMAGE_NAME) {
def DOCKER_CMD = "docker --config $WORKSPACE/.docker"
retry(3) {
sleep(time: 10, unit: "SECONDS")
sh """
echo """
echo $URM_CREDS_PSW | $DOCKER_CMD login $ARTIFACTORY_NAME -u $URM_CREDS_USR --password-stdin
$DOCKER_CMD push $IMAGE_NAME
$DOCKER_CMD logout $ARTIFACTORY_NAME
Expand All @@ -318,7 +314,7 @@ void deleteDockerTempTag(String tag) {
if (!tag?.trim()) { // return if the tag is null or empty
return
}
sh "curl -u $URM_CREDS_USR:$URM_CREDS_PSW -XDELETE https://${ARTIFACTORY_NAME}/artifactory/sw-spark-docker-local/plugin/${tag} || true"
echo "curl -u $URM_CREDS_USR:$URM_CREDS_PSW -XDELETE https://${ARTIFACTORY_NAME}/artifactory/sw-spark-docker-local/plugin/${tag} || true"
}

void abortDupBuilds() {
Expand All @@ -340,6 +336,7 @@ void abortDupBuilds() {
}

void checkoutCode(String url, String sha) {
for (i=0;i<10;i++) {
checkout(
changelog: false,
poll: true,
Expand All @@ -349,10 +346,17 @@ void checkoutCode(String url, String sha) {
credentialsId: 'github-token',
url : url,
refspec : '+refs/pull/*/merge:refs/remotes/origin/pr/*']],
extensions : [[$class: 'CloneOption', shallow: true],
[$class: 'SubmoduleOption', disableSubmodules: false, shallow: true, parentCredentials: true]]
extensions : [[$class: 'CloneOption', shallow: true]]
]
)

sh "git submodule status"
sh "git submodule deinit --all"
sh "git submodule status"
sh "git submodule update --init"
sh "git submodule status"
sh "git submodule deinit --all"
}
if (!common.isSubmoduleInit(this)) {
error "Failed to clone submodule : thirdparty/parquet-testing"
}
Expand Down