{"action":"created","issue":{"url":"https://api.github.com/repos/jenkins-x/jx/issues/643","repository_url":"https://api.github.com/repos/jenkins-x/jx","labels_url":"https://api.github.com/repos/jenkins-x/jx/issues/643/labels{/name}","comments_url":"https://api.github.com/repos/jenkins-x/jx/issues/643/comments","events_url":"https://api.github.com/repos/jenkins-x/jx/issues/643/events","html_url":"https://github.com/jenkins-x/jx/issues/643","id":314892234,"number":643,"title":"builds fail (quickstarts, springboot) on fresh cluster with org.jenkinsci.plugins.credentialsbinding.impl.CredentialNotFoundException: jenkins-x-git","user":{"login":"michaelneale","id":14976,"avatar_url":"https://avatars0.githubusercontent.com/u/14976?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelneale","html_url":"https://github.com/michaelneale","followers_url":"https://api.github.com/users/michaelneale/followers","following_url":"https://api.github.com/users/michaelneale/following{/other_user}","gists_url":"https://api.github.com/users/michaelneale/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelneale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelneale/subscriptions","organizations_url":"https://api.github.com/users/michaelneale/orgs","repos_url":"https://api.github.com/users/michaelneale/repos","events_url":"https://api.github.com/users/michaelneale/events{/privacy}","received_events_url":"https://api.github.com/users/michaelneale/received_events","type":"User","site_admin":false},"labels":[{"id":796050446,"url":"https://api.github.com/repos/jenkins-x/jx/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-17T03:29:29Z","updated_at":"2018-04-17T07:44:27Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I created a fresh cluster, wiped out ~/.jx etc. \r\n\r\nRunning `jx quickstart` for nodejs, or creating the spring boot app results in a failed master pipeline run (see below). The actual reported reason is \r\n\r\n```\r\nRequired context class hudson.FilePath is missing\r\nPerhaps you forgot to surround the code with a step that provides this, such as: node\r\n```\r\n\r\nBut I think that is indicative that the post build action is actually invalid (the cleanup workspace) and would never work, but the actual error is \r\n`org.jenkinsci.plugins.credentialsbinding.impl.CredentialNotFoundException: jenkins-x-git`\r\n\r\n\r\nnote that `jx status` is all ok and other things seem reasonable. \r\n\r\n```\r\njx version\r\nNAME               VERSION\r\njx                 1.1.73\r\njenkins x platform 0.0.624\r\nkubernetes cluster v1.8.8-gke.0\r\nkubectl            v1.10.0\r\nhelm client        v2.8.2+ga802316\r\nhelm server        v2.8.2+ga802316\r\ngit                git version 2.14.1\r\n```\r\n\r\nFull log below: \r\n\r\n\r\n```\r\nFirst time build. Skipping changelog.\r\n[Pipeline] }\r\n[Pipeline] // stage\r\n[Pipeline] withEnv\r\n[Pipeline] {\r\n[Pipeline] }\r\n[Pipeline] // withEnv\r\n[Pipeline] }\r\n[Pipeline] // node\r\n[Pipeline] stage\r\n[Pipeline] { (Declarative: Post Actions)\r\n[Pipeline] step\r\nRequired context class hudson.FilePath is missing\r\nPerhaps you forgot to surround the code with a step that provides this, such as: node\r\n[Pipeline] }\r\n[Pipeline] // stage\r\n[Pipeline] End of Pipeline\r\n\r\nGitHub has been notified of this commit’s build result\r\n\r\norg.jenkinsci.plugins.credentialsbinding.impl.CredentialNotFoundException: jenkins-x-git\r\n\tat org.jenkinsci.plugins.pipeline.modeldefinition.model.CredentialsBindingHandler.forId(CredentialsBindingHandler.java:119)\r\n\tat org.jenkinsci.plugins.pipeline.modeldefinition.model.CredentialsBindingHandler$forId.call(Unknown Source)\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)\r\n\tat com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:19)\r\n\tat org.jenkinsci.plugins.pipeline.modeldefinition.ModelInterpreter.withCredentialsBlock(jar:file:/var/jenkins_home/plugins/pipeline-model-definition/WEB-INF/lib/pipeline-model-definition.jar!/org/jenkinsci/plugins/pipeline/modeldefinition/ModelInterpreter.groovy:385)\r\n\tat com.cloudbees.groovy.cps.CpsDefaultGroovyMethods.callClosureForMapEntry(CpsDefaultGroovyMethods:5226)\r\n\tat com.cloudbees.groovy.cps.CpsDefaultGroovyMethods.each(CpsDefaultGroovyMethods:2107)\r\n\tat org.jenkinsci.plugins.pipeline.modeldefinition.ModelInterpreter.withCredentialsBlock(jar:file:/var/jenkins_home/plugins/pipeline-model-definition/WEB-INF/lib/pipeline-model-definition.jar!/org/jenkinsci/plugins/pipeline/modeldefinition/ModelInterpreter.groovy:383)\r\n\tat org.jenkinsci.plugins.pipeline.modeldefinition.ModelInterpreter.call(jar:file:/var/jenkins_home/plugins/pipeline-model-definition/WEB-INF/lib/pipeline-model-definition.jar!/org/jenkinsci/plugins/pipeline/modeldefinition/ModelInterpreter.groovy:70)\r\n\tat org.jenkinsci.plugins.pipeline.modeldefinition.ModelInterpreter.inDeclarativeAgent(jar:file:/var/jenkins_home/plugins/pipeline-model-definition/WEB-INF/lib/pipeline-model-definition.jar!/org/jenkinsci/plugins/pipeline/modeldefinition/ModelInterpreter.groovy:492)\r\n\tat org.jenkinsci.plugins.pipeline.modeldefinition.agent.CheckoutScript.checkoutAndRun(jar:file:/var/jenkins_home/plugins/pipeline-model-extensions/WEB-INF/lib/pipeline-model-extensions.jar!/org/jenkinsci/plugins/pipeline/modeldefinition/agent/CheckoutScript.groovy:63)\r\n```"},"comment":{"url":"https://api.github.com/repos/jenkins-x/jx/issues/comments/381882975","html_url":"https://github.com/jenkins-x/jx/issues/643#issuecomment-381882975","issue_url":"https://api.github.com/repos/jenkins-x/jx/issues/643","id":381882975,"user":{"login":"jstrachan","id":30140,"avatar_url":"https://avatars1.githubusercontent.com/u/30140?v=4","gravatar_id":"","url":"https://api.github.com/users/jstrachan","html_url":"https://github.com/jstrachan","followers_url":"https://api.github.com/users/jstrachan/followers","following_url":"https://api.github.com/users/jstrachan/following{/other_user}","gists_url":"https://api.github.com/users/jstrachan/gists{/gist_id}","starred_url":"https://api.github.com/users/jstrachan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstrachan/subscriptions","organizations_url":"https://api.github.com/users/jstrachan/orgs","repos_url":"https://api.github.com/users/jstrachan/repos","events_url":"https://api.github.com/users/jstrachan/events{/privacy}","received_events_url":"https://api.github.com/users/jstrachan/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T07:44:26Z","updated_at":"2018-04-17T07:44:26Z","author_association":"CONTRIBUTOR","body":"@michaelneale thanks - you're using the latest jx right? \r\n```\r\njx version\r\n```"}}
{"actor":{"display_login":"jstrachan"}}