pipeline {
agent any
options {
timeout(4)
}
stages {
stage('SmokeTest Login') {
steps {
sleep 15
echo 'SmokeTest Login Init..'
bat returnStdout: true, script: 'echo %PATH%'
echo 'SmokeTest Login Finished..'
}
}
}
output = bat returnStdout: true, script: 'echo %PATH%'
--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c70ebdda-42ab-4a85-83ea-f6c711cd7f4b%40googlegroups.com.
output = bat returnStdout: true, script: 'echo %PATH%'
echo output
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 15: Expected a step @ line 15, column 17. output = bat returnStdout: true, script: 'echo %PATH%' ^
To unsubscribe from this group and stop receiving emails from it, send an email to jenkins...@googlegroups.com.