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

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)

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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to