摘要:通过Groovy获取BUILD_USER,如何传递给Shell 解决办法:参考 https://stackoverflow.com/questions/41553303/pass-groovy-variable-to-shell-script 以前是这样的,不管用: ${BUILD_USER} 改成
阅读全文
摘要:if(env.equals('STG') || env.equals('UAT')){ return ['develop'] }else if (env.equals('PROD') || env.equals('PROD1Set')){ return ['master'] } return ['d
阅读全文
摘要:How to convert HTML Report to picture format in Email? So that we can see the automation report also at home or on mobile phone anywhere. We tried to
阅读全文
摘要:I encounter a problem like this: As you know, we config html format email in Jenkins. I need to insert several images in the HTML.But I am sure about
阅读全文
摘要:I encounter a problem like this: As you know, we config html format email in Jenkins. I need to insert several images in the HTML.But I am sure about
阅读全文
摘要:我遇到另一个场景,需要将上游Job的参数传递给多个下游Job,这种情况很不一样,不能使用Post-build Actions那里的设置。 如果使用Post-build Actions那里的设置,子job会被调用两次: 1.一次是通过MultiJob Phase进行上下游控制,上游会驱动下游的执行 2
阅读全文
摘要:主要用到这个插件的:Parameterized Trigger Plugin 在使用之前我们的简单说一下传递参数的流程,我们假设有两个JOB:A和B,使用常见就是A Job编译成功后触发B Job的运行并成功传递参数,需求很简单我们需要做的事情有两件: 1、B Job勾选参数化构建,并定义需要的参数
阅读全文
摘要:通过EnvInject Plugin插件 ,EnvInject Plugin可以支持修改、注入和删除环境变量。 具体用法如下: 1.在某个构建过程中产生的变量runId,将变量以"key=value"的样式写入到文件下例如:文件名叫run,文件名可以自定义 2.在其他构建过程中要使用上面产生的变量时
阅读全文
摘要:git config --global credential.helper manager
阅读全文
摘要:https://www.cnblogs.com/junneyang/p/5239480.html https://www.cnblogs.com/Rocky_/p/8317156.html https://blog.csdn.net/hqzxsc2006/article/details/491213
阅读全文
摘要:cd %WORKSPACE%cmd /c call "%READYAPI_PRO_190%\bin\testrunner.bat" -a -j -s"%TestSuiteToRun%" -PtestAndBmkEnv="%Comparison_Environment%" -f"%WORKSPACE%
阅读全文
摘要:http://www.360doc.com/content/14/1110/10/7811581_423993429.shtml https://wiki.jenkins.io/display/JENKINS/Building+a+software+project#Buildingasoftware
阅读全文
摘要:cd %WORKSPACE%cmd /c call "D:\Program Files\SmartBear\ReadyAPI-1.3.1\bin\testrunner.bat" -a -j -sLogin -PprojectPath="%WORKSPACE%" -f"%WORKSPACE%\resu...
阅读全文
摘要:执行SoapUI的task,里面包含多个Project,发出的报告也要求包含多个Project,设置邮件内容为HTML+CSS如何保证样式在邮件内容中不丢失Project : DO_IT Maitenance Build Status : ${BUILD_STATUS} Automation T...
阅读全文
摘要:设置邮件内容:Default ContentProject : PA_Regression_Accuracy_Static Build Status : ${BUILD_STATUS} Automation Tool : SoapUI TP vs Live Test Results : TP ...
阅读全文
摘要:在Editable Email Notification的Default Content里面加入这样一段:${FILE,path="result-output/overview-summary.html"} 用于换行
阅读全文
摘要:在Jenkins上建了一个执行SoapUI的task,想要自定义发送邮件的地址和姓名,怎么办呢?在Editable Email Notification里面添加Pre-send Script脚本如下:import javax.mail.Message.RecipientTypeimport java...
阅读全文
摘要:New Item在Build --> Execute Windows batch command --> 里面填写:schtasks /run /tn Start_Hub_szotqa201201 /s szotqa201201/u szdomain1\doautotester /p mimaemi...
阅读全文