{"action":"created","issue":{"url":"https://api.github.com/repos/egineering-llc/gitflow-helper-maven-plugin/issues/47","repository_url":"https://api.github.com/repos/egineering-llc/gitflow-helper-maven-plugin","labels_url":"https://api.github.com/repos/egineering-llc/gitflow-helper-maven-plugin/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/egineering-llc/gitflow-helper-maven-plugin/issues/47/comments","events_url":"https://api.github.com/repos/egineering-llc/gitflow-helper-maven-plugin/issues/47/events","html_url":"https://github.com/egineering-llc/gitflow-helper-maven-plugin/issues/47","id":195216099,"number":47,"title":"tag-master can't push and fails with ssh-askpass error","user":{"login":"basrock","id":24543159,"avatar_url":"https://avatars.githubusercontent.com/u/24543159?v=3","gravatar_id":"","url":"https://api.github.com/users/basrock","html_url":"https://github.com/basrock","followers_url":"https://api.github.com/users/basrock/followers","following_url":"https://api.github.com/users/basrock/following{/other_user}","gists_url":"https://api.github.com/users/basrock/gists{/gist_id}","starred_url":"https://api.github.com/users/basrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basrock/subscriptions","organizations_url":"https://api.github.com/users/basrock/orgs","repos_url":"https://api.github.com/users/basrock/repos","events_url":"https://api.github.com/users/basrock/events{/privacy}","received_events_url":"https://api.github.com/users/basrock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-13T10:32:50Z","updated_at":"2016-12-21T14:38:29Z","closed_at":null,"body":"Handling of development and release branches is working perfectly.\r\nBut when trying to build a master branch with Jenkins the plugin fails to push the tag to the git repository.\r\nThe server is configured in the global settings.xml which is used by the Jenkins setup.\r\nThe POM is setting <project.scm.id> to the ID mentioned in settings.xml\r\n\r\nBut anyway it seems, that the GIT is trying to open a password window, which fails.\r\nAm I doing something wrong here?\r\n\r\nThanks for your help in advance.\r\n\r\n\r\n```\r\nSet build name.\r\nNew build name is 'origin/master - #21'\r\nParsing POMs\r\nEstablished TCP socket on 49115\r\n[workspace] $ /opt/gnu/ext/java/jdk1.8.0_74_64/bin/java -cp /home/jenkins/jenkins_m1/plugins/maven-plugin/WEB-INF/lib/maven32-agent-1.7.jar:/opt/maven3/apache-maven-3.2.1/boot/plexus-classworlds-2.5.1.jar:/opt/maven3/apache-maven-3.2.1/conf/logging jenkins.maven3.agent.Maven32Main /opt/maven3/apache-maven-3.2.1 /home/jenkins/jenkins_m1/cache/WEB-INF/lib/remoting-2.52.jar /home/jenkins/jenkins_m1/plugins/maven-plugin/WEB-INF/lib/maven32-interceptor-1.7.jar /home/jenkins/jenkins_m1/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.7.jar 49115\r\n<===[JENKINS REMOTING CAPACITY]===>channel started\r\nExecuting Maven:  -B -f /home/jenkins/jenkins_m1/jobs/hello-gitflow/workspace/pom.xml clean deploy\r\n[INFO] Scanning for projects...\r\n[INFO] Build Extension Resolved: ${env.GIT_BRANCH} to: origin/master\r\n[INFO] gitflow-helper-maven-plugin: Enabling MasterPromoteExtension. GIT_BRANCH: [origin/master] matches masterBranchPattern: [origin/master]\r\n[INFO] \r\n[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1\r\n[INFO]                                                                         \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building hello-gitflow 0.0.2\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] \r\n[INFO] --- gitflow-helper-maven-plugin:1.5.1:enforce-versions (default) @ hello-gitflow ---\r\n[INFO] \r\n[INFO] --- gitflow-helper-maven-plugin:1.5.1:retarget-deploy (default) @ hello-gitflow ---\r\n[INFO] Setting release artifact repository to: [releases::default::http://t1olasdv:8081/nexus/content/repositories/releases::false]\r\n[INFO] \r\n[INFO] --- gitflow-helper-maven-plugin:1.5.1:set-properties (default) @ hello-gitflow ---\r\n[INFO] Setting 0 properties...\r\n[INFO] \r\n[INFO] --- gitflow-helper-maven-plugin:1.5.1:tag-master (default) @ hello-gitflow ---\r\n[INFO] Invoking scm:tag for CI build matching branchPattern: [origin/master]\r\n[INFO] Final Tag Name: '0.0.2'\r\n[INFO] Executing: /bin/sh -c cd /home/jenkins/jenkins_m1/jobs/hello-gitflow/workspace && git tag -F /tmp/maven-scm-332888574.commit 0.0.2\r\n[INFO] Working directory: /home/jenkins/jenkins_m1/jobs/hello-gitflow/workspace\r\n[INFO] Executing: /bin/sh -c cd /home/jenkins/jenkins_m1/jobs/hello-gitflow/workspace && git push <git_server/project> refs/tags/0.0.2\r\n[INFO] Working directory: /home/jenkins/jenkins_m1/jobs/hello-gitflow/workspace\r\n[ERROR] Provider message:\r\n[ERROR] The git-push command failed.\r\n[ERROR] Command output:\r\n[ERROR] \r\n(gnome-ssh-askpass:1542): Gtk-WARNING **: cannot open display:  \r\nerror: unable to read askpass response from '/usr/libexec/openssh/gnome-ssh-askpass'\r\nfatal: could not read Username for '<git_server>': No such device or address\r\n\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 11.818 s\r\n[INFO] Finished at: 2016-12-13T10:12:34+00:00\r\n[INFO] Final Memory: 13M/199M\r\n[INFO] ------------------------------------------------------------------------\r\nWaiting for Jenkins to finish collecting data\r\n```"},"comment":{"url":"https://api.github.com/repos/egineering-llc/gitflow-helper-maven-plugin/issues/comments/268537910","html_url":"https://github.com/egineering-llc/gitflow-helper-maven-plugin/issues/47#issuecomment-268537910","issue_url":"https://api.github.com/repos/egineering-llc/gitflow-helper-maven-plugin/issues/47","id":268537910,"user":{"login":"bvarner","id":1652015,"avatar_url":"https://avatars.githubusercontent.com/u/1652015?v=3","gravatar_id":"","url":"https://api.github.com/users/bvarner","html_url":"https://github.com/bvarner","followers_url":"https://api.github.com/users/bvarner/followers","following_url":"https://api.github.com/users/bvarner/following{/other_user}","gists_url":"https://api.github.com/users/bvarner/gists{/gist_id}","starred_url":"https://api.github.com/users/bvarner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvarner/subscriptions","organizations_url":"https://api.github.com/users/bvarner/orgs","repos_url":"https://api.github.com/users/bvarner/repos","events_url":"https://api.github.com/users/bvarner/events{/privacy}","received_events_url":"https://api.github.com/users/bvarner/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T14:38:29Z","updated_at":"2016-12-21T14:38:29Z","body":"Likely a duplicate of #43 "}}
{"actor":{"display_login":"bvarner"}}