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

fix junit test-report generation #5

Open
adisakshya opened this issue Aug 29, 2020 · 1 comment
Open

fix junit test-report generation #5

adisakshya opened this issue Aug 29, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@adisakshya
Copy link
Owner

The code to generate the test-report is;

/*
 * Get JUnit test reports
 */
def getTestReports(String VERSION) {
    def testContainerID = getTestContainerID(VERSION)
    executeCommand('docker cp ' + testContainerID + ':/usr/src/app/build .')
    junit './build/reports/*.xml'
}

Reports are present in the test-container which generate them. Maybe the docker-cp command used here is incorrect, it runs on the Jenkins docker-container but doesn't copy the reports from test-container to Jenkins docker-container and the pipeline fails.

@adisakshya adisakshya added the bug Something isn't working label Aug 29, 2020
@adisakshya adisakshya self-assigned this Aug 29, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.94. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant