帮我把grovvy代码改成python代码 // if we didn't fail and don't have a shared artifact directory - we may have to copy back build directory artifacts... if (!failure && VC_sharedArtifactDirectory.length() == 0) { // if we are using an SCM checkout and we aren't using a single checkout directory, we need to copy back build artifacts if (VC_usingSCM && !VC_useOneCheckoutDir) { print "*********************到这了" def fixedJobName = fixUpName("${env.JOB_NAME}") print "*****************跑cmd了" buildLogText += runCommands("""_VECTORCAST_DIR/vpython "${env.WORKSPACE}"/vc_scripts/copy_build_dir.py ${VC_Manage_Project} ${compiler}/${test_suite} ${fixedJobName}_${compiler}_${test_suite}_${environment} ${environment}""" ) } }
时间: 2023-05-23 15:05:45 浏览: 92
and not shared_artifact_dir):
# we may have to copy back build directory artifacts...
pass # TODO: implement the code in Python
阅读全文