Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Remove jenkins unit test run #809

Merged
merged 1 commit into from
Jul 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 0 additions & 18 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,6 @@ pipeline {
}
}
stages {
stage("Tests & Coverage") {
steps {
script {
catchError(stageResult: 'FAILURE') {
// Rebuild tox environment after change requirements. https://github.com/openshift/elliott/pull/149
sh """
tox_args="\$(git diff --name-only HEAD~5 | grep -Fxq -e requirements.txt -e requirements-dev.txt -e MANIFEST.in -e setup.py && echo '--recreate' || true)"
tox \$tox_args > results.txt 2>&1
"""
}
results = readFile("results.txt").trim()
echo results
if (env.CHANGE_ID) {
commentOnPullRequest(msg: "### Build <span>#</span>${env.BUILD_NUMBER}\n```\n${results}\n```")
}
}
}
}
stage("Publish Coverage Report") {
steps {
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
Expand Down