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 console output for internal Jib tasks/goals #3880

Merged
merged 1 commit into from
Mar 26, 2020
Merged

Fix console output for internal Jib tasks/goals #3880

merged 1 commit into from
Mar 26, 2020

Conversation

TadCordle
Copy link
Contributor

Fixes #3795.

Jib's internal tasks/goals (_skaffoldFailIfJibOutOfDate, _jibSkaffoldInit, _jibFilesTaskV2, _jibSkaffoldSyncMap, and the maven equivalents) will now run with --console=plain (gradle) or --batch-mode (maven) to avoid unexpected output interfering with what we're trying to parse. For normal builds (jibDockerBuild and jib for gradle, jib:dockerBuild and jib:build for maven), we continue passing the -Djib.console=plain flag as usual.

@GoogleContainerTools/java-tools-build

@codecov
Copy link

codecov bot commented Mar 26, 2020

Codecov Report

Merging #3880 into master will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted Files Coverage Δ
pkg/skaffold/build/jib/init.go 88.52% <100%> (+0.38%) ⬆️
pkg/skaffold/build/jib/gradle.go 100% <100%> (ø) ⬆️
pkg/skaffold/build/jib/maven.go 100% <100%> (ø) ⬆️
...affold/kubernetes/portforward/kubectl_forwarder.go 68.29% <0%> (+2.43%) ⬆️

@TadCordle TadCordle merged commit b06cdee into GoogleContainerTools:master Mar 26, 2020
@TadCordle TadCordle deleted the i3795-fix-jib-console branch March 26, 2020 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invoke Gradle with option --console=plain
3 participants