Closed shashikumaarb closed 5 years ago
Hi, this extension does not validate the groovy script on its own. It´s only purpose is to send the Jenkinsfile from within VS Code to the Jenkins server, so that you don´t have to send it by yourself. The validation takes place on the Jenkins server.
Hi how do I debug the jenkins.groovy file. this extension is basically validating that if the file is syntactically correct or not but does not catch run time exception.
e.g. this script is valid but when I run this in jenkins it errors because the csproj isn't right xml doc.
!groovy
def WORKSPACE = env.WORKSPACE def VERSION = "1.5.0" //maintain version here
node('Windows') { //this instructs Jenkins to use the agent with label 'Windows' (exact spelling)
}
error: java.net.MalformedURLException: no protocol: