[JIRA] (JENKINS-57251) pipeline shell expect : No such property... for class: groovy.lang.Binding

3 views
Skip to first unread message

begood@mailbox.org (JIRA)

unread,
Apr 30, 2019, 8:26:03 AM4/30/19
to jenkinsc...@googlegroups.com
Hao Maio created an issue
 
Jenkins / Bug JENKINS-57251
pipeline shell expect : No such property... for class: groovy.lang.Binding
Issue Type: Bug Bug
Assignee: Unassigned
Components: pipeline
Created: 2019-04-30 12:25
Labels: pipeline
Priority: Major Major
Reporter: Hao Maio

stage ('Deploy')

{ sh """#!/usr/bin/expect set test [pwd] echo "$test" }

 

produces

 

groovy.lang.MissingPropertyException: No such property: test for class: groovy.lang.Binding
at groovy.lang.Binding.getVariable(Binding.java:63)
at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onGetProperty(SandboxInterceptor.java:264)
at org.kohsuke.groovy.sandbox.impl.Checker$6.call(Checker.java:289)

....

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

g5niusx@gmail.com (JIRA)

unread,
Jul 18, 2019, 1:02:02 AM7/18/19
to jenkinsc...@googlegroups.com
g5nius x commented on Bug JENKINS-57251
 
Re: pipeline shell expect : No such property... for class: groovy.lang.Binding

hi are you resolve it? i alse have this problem。

Reply all
Reply to author
Forward
0 new messages