Jenkins

Not able to make Jenkins perforce plugin to work with ssh

狂风中的少年 提交于 2021-02-05 06:50:47
问题 I am not quite familiar with Jenkins but for some reason I am not able to make the perforce plugin to work. I will list down the problem and what I have tried so as to get a better understanding. Jenkins Version - 1.561 Perforce Plugin Version - 1.3.27 (I have perforce path configured in Jenkins) System - Ubuntu 10.04 Problem: In the Source Code Management's Project Details section ( when you try to configure a new job ) I get " Unable to check workspace against depot " error. P4PORT(hostname

Not able to make Jenkins perforce plugin to work with ssh

£可爱£侵袭症+ 提交于 2021-02-05 06:50:34
问题 I am not quite familiar with Jenkins but for some reason I am not able to make the perforce plugin to work. I will list down the problem and what I have tried so as to get a better understanding. Jenkins Version - 1.561 Perforce Plugin Version - 1.3.27 (I have perforce path configured in Jenkins) System - Ubuntu 10.04 Problem: In the Source Code Management's Project Details section ( when you try to configure a new job ) I get " Unable to check workspace against depot " error. P4PORT(hostname

What is the format of the JSON for a Jenkins REST buildWithParameters to override the default parameters values

∥☆過路亽.° 提交于 2021-02-05 00:23:12
问题 I am able to build a Jenkins job with its parameters' default values by sending a POST call to http://jenkins:8080/view/Orion_phase_2/job/test_remote_api_triggerring/buildWithParameters and I can override the default parameters "product", "suites" and "markers by sending to this URL: http://jenkins:8080/view/Orion_phase_2/job/test_remote_api_triggerring/buildWithParameters?product=ALL&suites=ALL&markers=ALL But I saw examples were the parameters can be override by sending a JSON body with new

What is the format of the JSON for a Jenkins REST buildWithParameters to override the default parameters values

穿精又带淫゛_ 提交于 2021-02-05 00:20:51
问题 I am able to build a Jenkins job with its parameters' default values by sending a POST call to http://jenkins:8080/view/Orion_phase_2/job/test_remote_api_triggerring/buildWithParameters and I can override the default parameters "product", "suites" and "markers by sending to this URL: http://jenkins:8080/view/Orion_phase_2/job/test_remote_api_triggerring/buildWithParameters?product=ALL&suites=ALL&markers=ALL But I saw examples were the parameters can be override by sending a JSON body with new

Getting jenkinsfile parallel branch run status

∥☆過路亽.° 提交于 2021-02-04 21:09:01
问题 I got multiple parallel branches job, each branch contains numerous stages. def build_jobs = [:] build_jobs['1'] = { stage ('A'){} stage ('B'){} } build_jobs['2'] = { stage ('A'){} stage ('B'){} } build_jobs['3'] = { stage ('A'){} stage ('B'){} } parallel build_jobs Thru the API I can find only separate stage status and whole build status.(using /api/json and /wfapi) I need a way to reach at the end of each build the branch name and it status. [Pipeline] { (Branch: 1) - status ? [Pipeline] {

译——欢迎来到人工智能驱动的自动化世界——人工智能自动化测试应用

家住魔仙堡 提交于 2021-02-04 21:01:14
顾翔老师的《软件测试技术实战设计、工具及管理》网上购买地址: https://item.jd.com/34295655089.html 《基于Django的电子商务网站》网上购买地址: https://item.jd.com/12082665.html 店铺二维码: 来源:https://www.testwo.com Welcome to the world of automation powered by AI 欢迎来到人工智能驱动的自动化世界 With one API call, you can add the power of AI to your mobile test automation. The team at test.ai has teamed up with Jonathan Lipps , the lead contributor of Appium and founder of Cloud Grey , to add a bit of AI to Appium. The AI finds common elements in mobile apps such as search text boxes, login buttons, etc., so test developers don’t have to worry about all those

How to run Start-Process in Powershell using user credentials?

佐手、 提交于 2021-02-04 19:10:39
问题 I've got a Windows service (Jenkins) that runs a script which needs to run a command as a specific user. I tried to do this but it doesn't work: $secpasswd = ConvertTo-SecureString "myPassword" -AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential("DOMAIN\myUsername", $secpasswd) $Arguments = @() $Arguments += "-Command" $Arguments += "pwd" $Arguments += ">" $Arguments += "output.txt" Start-Process powershell.exe -ArgumentList $Arguments -Credential $mycreds

How to run Start-Process in Powershell using user credentials?

人走茶凉 提交于 2021-02-04 19:09:37
问题 I've got a Windows service (Jenkins) that runs a script which needs to run a command as a specific user. I tried to do this but it doesn't work: $secpasswd = ConvertTo-SecureString "myPassword" -AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential("DOMAIN\myUsername", $secpasswd) $Arguments = @() $Arguments += "-Command" $Arguments += "pwd" $Arguments += ">" $Arguments += "output.txt" Start-Process powershell.exe -ArgumentList $Arguments -Credential $mycreds

How to run Start-Process in Powershell using user credentials?

前提是你 提交于 2021-02-04 19:08:44
问题 I've got a Windows service (Jenkins) that runs a script which needs to run a command as a specific user. I tried to do this but it doesn't work: $secpasswd = ConvertTo-SecureString "myPassword" -AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential("DOMAIN\myUsername", $secpasswd) $Arguments = @() $Arguments += "-Command" $Arguments += "pwd" $Arguments += ">" $Arguments += "output.txt" Start-Process powershell.exe -ArgumentList $Arguments -Credential $mycreds

Jenkins Pipeline Git Push

馋奶兔 提交于 2021-02-04 18:58:48
问题 Is there as way to have a stage like so in a Jenkinsfile: stage('Create Branch & Push Branch') { steps { script { sh "git checkout -b release/${NEW_TAG}" sh "git push --set-upstream } } } Currently this leads to: git push --set-upstream origin release/v1.0.3 fatal: could not read Username for 'https://github.com': No such device or address script returned exit code 128 The repository was originally cloned earlier in the pipeline using: checkout poll: false, scm: [$class: 'GitSCM', branches: [