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’
}
}
}
}