[JIRA] (JENKINS-57008) Jenkins declarative-linter does not handle missing variables

1 view
Skip to first unread message

wl2776@gmail.com (JIRA)

unread,
Apr 15, 2019, 5:39:02 AM4/15/19
to jenkinsc...@googlegroups.com
Vladimir Eremeev created an issue
 
Jenkins / Bug JENKINS-57008
Jenkins declarative-linter does not handle missing variables
Issue Type: Bug Bug
Assignee: Unassigned
Components: pipeline
Created: 2019-04-15 09:38
Environment: Jenkins ver. 2.164.2
Pipeline plugin version 2.6
Priority: Major Major
Reporter: Vladimir Eremeev

Following pipeline with errors is successfully validated.

{{
pipeline {
agent any
stages {
stage('Build') {
steps {
script

{ println missing_variable }

}
}
}
}
}}

{{
ssh -p 18122 username@jenkins declarative-linter < jf
Jenkinsfile successfully validated.
}}

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

wl2776@gmail.com (JIRA)

unread,
Apr 15, 2019, 5:40:02 AM4/15/19
to jenkinsc...@googlegroups.com
Vladimir Eremeev updated an issue
Change By: Vladimir Eremeev
Following pipeline with errors is successfully validated.

{{

pipeline {
    agent any
        stages {
            stage('Build') {
                steps {
                    script
                     { println missing_variable }
                    }
               }
           }
     }

}}


{{
ssh -p 18122 username@jenkins declarative-linter < jf
Jenkinsfile successfully validated.
}}
Add Comment Add Comment
 

wl2776@gmail.com (JIRA)

unread,
Nov 13, 2019, 9:42:02 AM11/13/19
to jenkinsc...@googlegroups.com
Vladimir Eremeev updated an issue
Following pipeline with errors is successfully validated.

{ { code}
pipeline {
    agent any
        stages {
            stage('Build') {
                steps {
                    script

                     {
println missing_variable
}
                    }
               }
           }
{code      } }}


{ { code}
ssh -p 18122 username@jenkins declarative-linter < jf
Jenkinsfile successfully validated.
{code } }
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages