我有一个名为Rollback的输入参数。
目前我已经配置了这样的名字 -
#${BUILD_NUMBER}-${deployment_group}-${branch_name}-rollback-${rollback}
因此,根据用户是否选择回滚,以下是当前正在生成的名称以及我想要的名称 -
#348-cd-test-group-master-rollback-no (currently)
#348-cd-test-group-master (rollback info should be normally present)
#348-cd-test-group-master-rollback-yes (currently)
#348-cd-test-group-master-rollback (only rollback string should be present if rollback case).