[ https://issues.apache.org/jira/browse/RATIS-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16227059#comment-16227059 ]
Jitendra Nath Pandey commented on RATIS-4: ------------------------------------------ The script for the pre-commit job (https://builds.apache.org/job/PreCommit-RATIS-Build/) is following: {code} #!/usr/bin/env bash set -x YETUSDIR=${WORKSPACE}/yetus TESTPATCHBIN=${YETUSDIR}/bin/test-patch ARTIFACTS=${WORKSPACE}/out BASEDIR=${WORKSPACE}/sourcedir TOOLS=${WORKSPACE}/tools rm -rf "${ARTIFACTS}" "${YETUSDIR}" mkdir -p "${ARTIFACTS}" "${YETUSDIR}" "${TOOLS}" echo "Downloading Yetus" #curl -L https://api.github.com/repos/apache/yetus/tarball/master -o yetus.tar.gz curl -L https://archive.apache.org/dist/yetus/0.5.0/yetus-0.5.0-bin.tar.gz -o yetus.tar.gz gunzip -c yetus.tar.gz | tar xpf - -C "${YETUSDIR}" --strip-components 1 YETUS_ARGS+=("--archive-list=checkstyle-errors.xml,findbugsXml.xml") YETUS_ARGS+=("--basedir=${BASEDIR}") YETUS_ARGS+=("--brief-report-file=${ARTIFACTS}/email-report.txt") YETUS_ARGS+=("--build-url-artifacts=artifact/out") YETUS_ARGS+=("--console-report-file=${ARTIFACTS}/console-report.txt") YETUS_ARGS+=("--console-urls") YETUS_ARGS+=("--docker") YETUS_ARGS+=("--dockerfile=${BASEDIR}/dev-support/docker/Dockerfile") YETUS_ARGS+=("--dockermemlimit=20g") YETUS_ARGS+=("--findbugs-strict-precheck") YETUS_ARGS+=("--html-report-file=${ARTIFACTS}/console-report.html") YETUS_ARGS+=("--jenkins") YETUS_ARGS+=("--jira-password=${JIRA_PASSWORD}") YETUS_ARGS+=("--jira-user=hadoopqa") YETUS_ARGS+=("--multijdkdirs=/usr/lib/jvm/java-8-oracle") YETUS_ARGS+=("--mvn-custom-repos") YETUS_ARGS+=("--patch-dir=${ARTIFACTS}") YETUS_ARGS+=("--project=ratis") YETUS_ARGS+=("--personality=${BASEDIR}/dev-support/yetus-personality.sh") YETUS_ARGS+=("--proclimit=5000") YETUS_ARGS+=("--resetrepo") YETUS_ARGS+=("--sentinel") YETUS_ARGS+=("--shelldocs=/testptch/hadoop/dev-support/bin/shelldocs") YETUS_ARGS+=("--skip-dir=dev-support") YETUS_ARGS+=("--tests-filter=checkstyle,pylint,shelldocs") YETUS_ARGS+=("RATIS-${ISSUE_NUM}") /bin/bash ${TESTPATCHBIN} "${YETUS_ARGS[@]}" {code} > Setup jenkins > -------------- > > Key: RATIS-4 > URL: https://issues.apache.org/jira/browse/RATIS-4 > Project: Ratis > Issue Type: Task > Reporter: Enis Soztutar > Assignee: Elek, Marton > Attachments: RATIS-4.001.patch, RATIS-4.002.patch, RATIS-4.003.patch > > > Jenkins unit test builds should be set up. -- This message was sent by Atlassian JIRA (v6.4.14#64029)