Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 7 additions & 5 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,20 @@ yetus_task:
image: apache/yetus:main
test_script: >
${CIRRUS_WORKING_DIR}/precommit/src/main/shell/test-patch.sh
--plugins=all
--pylint=pylint2
--java-home=/usr/lib/jvm/java-8-openjdk-amd64
--basedir="${CIRRUS_WORKING_DIR}"
--html-report-file=/tmp/yetus-out/report.html
--console-report-file=/tmp/yetus-out/console.txt
--brief-report-file=/tmp/yetus-out/brief.txt
--bugcomments=briefreport,htmlout,junit
--console-report-file=/tmp/yetus-out/console.txt
--html-report-file=/tmp/yetus-out/report.html
--java-home=/usr/lib/jvm/java-8-openjdk-amd64
--junit-report-xml=/tmp/yetus-out/junit.xml
--plugins=all
--pylint=pylint2
--tests-filter=checkstyle,javadoc,rubocop,test4tests
always:
junit_artifacts:
path: "yetus-out/junit.xml"
type: text/xml
format: junit
other_artifacts:
path: "yetus-out/**"
8 changes: 4 additions & 4 deletions precommit/src/main/shell/robots.d/cirrusci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

if [[ "${CIRRUS_CI}" == true ]] &&
declare -f compile_cycle >/dev/null; then

# shellcheck disable=SC2034
ROBOT=true
# shellcheck disable=SC2034
Expand All @@ -30,7 +31,6 @@ if [[ "${CIRRUS_CI}" == true ]] &&
# shellcheck disable=SC2034
RELOCATE_PATCH_DIR=true


# shellcheck disable=SC2034
if [[ "${CIRRUS_PR}" == false ]]; then
# shellcheck disable=SC2034
Expand All @@ -50,13 +50,13 @@ if [[ "${CIRRUS_CI}" == true ]] &&
CI \
CIRRUS_BASE_SHA \
CIRRUS_BRANCH \
CIRRUS_BUILD_ID
CIRRUS_BUILD_ID \
CIRRUS_CI \
CIRRUS_DEFAULT_BRANCH \
CIRRUS_PR \
CIRRUS_REPO_FULL_NAME \
CIRRUS_TASK_ID
CIRRUS_TASK_ID \
GITHUB_CHECK_SUITE_ID

# shellcheck disable=SC2034
GIT_BRANCH_SHA=${CIRRUS_BASE_SHA}
Expand Down Expand Up @@ -99,4 +99,4 @@ function cirrusci_artifact_url

dir=${PATCH_DIR##*/}
echo "https://api.cirrus-ci.com/v1/artifact/task/${CIRRUS_TASK_ID}/other/${dir}"
}
}