2016-12-06 126 views
0

无法识别的参数我有詹金斯问题设置 我需要改变字符串参数默认值:“伊利-M10”到“HDP-2.5.1.0(伊利-M10天青)” 它的名字在Jira的版本。 当我改变了它,我有一个“错误:无法识别的参数:(伊利-M10天青)” 我认为这是问题,空间或支架,并试图使用筛选'和\和‘\’,但什么都没有改变(( 请帮我 下面是一个屏幕截图在附件enter image description here错误:詹金斯

错误文本:。 + python UT/utreport.py -configfile /grid/0/jenkins/.ssh/hwx_secrets.conf -dbName 2.5-maint -version HDP-2.5.1.0 '(Erie-M10' 'Azure)' -OS Linux usage: utreport.py [-h] -configfile CONF_FILE -dbName DBNAME -version VERSION -OS OS utreport.py: error: unrecognized arguments: (Erie-M10 Azure) Build step 'Execute shell' marked build as failure [INFO] HipChat notification sent to the following rooms: RE-notifications Finished: FAILURE

回答

0

你应该找到它开始这个python脚本了一步,它可能是“执行shell”的步骤使用双各地version变量,即

报价210