On Friday, February 2, 2018 at 3:46:15 PM UTC-6, Shaun Thompson wrote:
>
> I have the following Jenkinsfile
>
> pipeline {
> agent any
> stages {
> stage('Checkout') {
> steps {
> git 'project'
> }
> }
>
> stage('Install') {
> steps {
> sh 'npm install'
> }
> }
>
> stage('Test') {
> steps {
> sh "npm run cucumber"
> step([$class: 'CucumberReportPublisher',
> jsonReportDirectory: '/target', fileIncludePattern: '*.json'])
> }
> }
> }
> post {
> always {
> step([$class: 'Mailer', notifyEveryUnstableBuild: true,
> recipients: emailextrecipients([[$class: 'CulpritsRecipientProvider'],
> [$class: 'RequesterRecipientProvider']])])
> }
> }
> }
>
> The cucumber tests complete but then hangs.
>
> 3 steps ( [31m1 failed [39m, [36m1 skipped [39m, [32m1 passed [39m
> 0m05.023s
>
> Creating a thread dump shows the following
>
> Thread #8
> at DSL.sh(awaiting process completion in
> project@tmp/durable-42df74ba; recurrence period: 15000ms; check task
> scheduled; cancelled? false done? false)
> at WorkflowScript.run(WorkflowScript:18)
> at
> org.jenkinsci.plugins.pipeline.modeldefinition.ModelInterpreter.delegateAndExecute(jar:file:/plugins/pipeline-model-
>
>
>
>
--
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/42e6c223-b540-4fa1-a0ac-cfe9322307b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.