Problems in (# LAB: Jenkins CI with Quality Assurance - Part 1)

In this lab’s 7th step when creating a pipeline and printing the node version the build output doesn’t output anything. I’ve tried printing hello world using sample script even then the same problem, I don’t know how to troubleshoot this. I need help.
Here is my script.

pipeline {
agent any
stages {
stage(‘Print NodeJS and NPM Versions’) {
steps {
sh ‘node -v’
}
}
}
}

Since there are multiple Jenkins courses, could you please supply a link to the lab in question, so I can find it? Much thanks!

Hi! I faced the same problem.
In my case reinstalling Pipeline Plugin (with Jenins instance restart) solved this issue.

1 Like