{"id":2092,"date":"2017-12-07T10:16:05","date_gmt":"2017-12-07T10:16:05","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2092"},"modified":"2021-11-18T06:47:10","modified_gmt":"2021-11-18T06:47:10","slug":"usr-bin-p4-error-in-windows-machine-with-jenkins","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/usr-bin-p4-error-in-windows-machine-with-jenkins\/","title":{"rendered":"Jenkins Error: \/usr\/bin\/p4 error in windows machine with jenkins"},"content":{"rendered":"<p><strong>rajeshkumar created the topic: \/usr\/bin\/p4 error in windows machine with jenkins<\/strong><br \/>Issues:<\/p>\n<p>[workspace] $ &#8220;C:\\Program Files\\Perforce\\p4.exe&#8221; login -p<br \/>[workspace] $ \/usr\/bin\/p4 login -p<\/p>\n<p>Solution:<\/p>\n<p>This must be related to value of P4USER, P4PORT, P4PASSWD or P4TICKET variable is not getting passed to Jenkins.<br \/>Try following..<br \/>Restart Machine or Restart Services OR Set P4USER, P4PORT, P4PASSWD or P4TICKET and Restart Jenkins Services again.<\/p>\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_73243\"><iframe loading=\"lazy\"  id=\"_ytid_30825\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_73243\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>rajeshkumar created the topic: \/usr\/bin\/p4 error in windows machine with jenkinsIssues: [workspace] $ &#8220;C:\\Program Files\\Perforce\\p4.exe&#8221; login -p[workspace] $ \/usr\/bin\/p4 login -p Solution: This must be related to value of P4USER,&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[370],"tags":[145],"class_list":["post-2092","post","type-post","status-publish","format-standard","hentry","category-perforce","tag-jenkins"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2092","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=2092"}],"version-history":[{"count":5,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2092\/revisions"}],"predecessor-version":[{"id":25692,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2092\/revisions\/25692"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}