且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将 groovy 变量传递给 shell 脚本

更新时间:2023-12-05 17:03:10

在变量周围添加了单引号和加号operator('+ variable +').现在它正在工作

added the single quotes and plus operater('+ variable +') around the variable. Now it is working

svn copy '''+svnSourcePath+' '+svnDestPath+''' -m 'promote dev to test' --username $SVN_USER --password $SVN_PWD '''