-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins 2.19.1, Artifactory Plugin 2.7.2, Pipeline API 2.5, Windows 2012 R2 x64
I am running a Maven build via the Artifactory plugin in a Pipeline build like this:
def artifactory = Artifactory.server('com.example') def mavenBuild = Artifactory.newMavenBuild() mavenBuild.resolver = null mavenBuild.deployer server: artifactory, releaseRepo: 'example-local', snapshotRepo: 'example-snapshots-local' mavenBuild.tool = 'Maven 3.3.9' env.setProperty('PATH+JDK', javaHome + "bin") def coreBuildInfo = mavenBuild.run pom: 'dev\\pom.xml', goals: 'clean install -s cm\\settings.xml -Dmaven.repo.local=.repository -Dmaven.test.failure.ignore=true -B -U -Prelease'
It works great except for one thing: While the build is running, stdout/err from Maven is not displayed in the live console in Jenkins. It works if I run a `bat` step to run `mvn` directly, but not the Artifactory plugin's `Maven3Builder`. The console just sits there until the entire Maven build is done, then all the output shows up at once.
This makes it very difficult to watch the progress of the build, as you can imagine.
+1. It's really annoying as my build takes 30 minutes![](/images/icons/emoticons/smile.png)
However i can see the output real-time in BlueOcean step ui (using currently BlueOcean beta 1.0.0-b10)