This is weird... I added another debugging echo statement right below the sh "gradle all -D..." This made my hanging builds no longer hang.
Allen On Tuesday, June 20, 2017 at 11:04:50 AM UTC-5, Allen Fisher wrote: > > Hi All-- > > I tried to update to 2.46.3 today and for various reasons had to downgrade > back to 2.32.3. After the rollback, which was accomplished by restoring to > a VM snapshot, all my pipeline builds that use Gradle hang right after the > build finishes, and the build has to be force killed. From the log: > > > BUILD SUCCESSFUL > > Total time: 1 mins 3.171 secs > > This build could be faster, please consider using the Gradle Daemon: > https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html > > Aborted by unknown <http://edprjenkins01.helpsystems.com:8080/user/unknown> > > Click here to forcibly terminate running steps > > Terminating withEnv > > Click here to forcibly kill entire build > > Hard kill! > > Finished: ABORTED > > > Here's my code: > > stage('Build File'){ > checkout([$class: 'GitSCM', branches: [[name: '*/master']], > doGenerateSubmoduleConfigurations: false, extensions: [], gitTool: ' > Default', submoduleCfg: [], userRemoteConfigs: [[credentialsId: ' > 9751a73d-c430-4f9c-9de5-4211f3be7c1d', url: ' > [email protected]:myproduct/foo.git']]]) > tool name: 'gradle214', type: 'gradle' > sh "echo Starting Build..." > withEnv(["PATH+GRADLE=${tool 'gradle214'}/bin"]){ > sh "gradle all -DisQUABuild=${isQUABuild}" > } > sh "echo ending build..." //never gets to this sh call! > > Any suggestions on what to troubleshoot? This is a linux build machine. > I've tried restarting Jenkins, the build box, everything and I'm still > hanging. > > Thanks! > > Allen > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/59d2bfa8-332c-4f37-97c7-4cf98867d414%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
