[JIRA] (JENKINS-61493) Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist
Title: Message Title Alexey Pelykh commented on JENKINS-61493 Re: Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist That sounds much better, yet I'm not sure I'm qualified enough to make such PR Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205179.1584360231000.12783.1585139760129%40Atlassian.JIRA.
[JIRA] (JENKINS-61493) Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist
Title: Message Title Alexey Pelykh commented on JENKINS-61493 Re: Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist I want to try HEAD instead of GET request next time Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205179.1584360231000.12681.1585135200126%40Atlassian.JIRA.
[JIRA] (JENKINS-61493) Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist
Title: Message Title Alexey Pelykh commented on JENKINS-61493 Re: Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist I'm checking manually, so no way to track the time between that. I've created a pull request, did ls-remove, made API call using Postman and re-did ls-remote to verify it appeared Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205179.1584360231000.12679.1585135140087%40Atlassian.JIRA.
[JIRA] (JENKINS-61493) Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist
Title: Message Title Alexey Pelykh commented on JENKINS-61493 Re: Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist Call to `/rest/api/1.0/projects/{PROJECT}/repos/{REPO}/pull-requests/19/diff` causes `/from` to appear Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205179.1584360231000.12662.1585134660146%40Atlassian.JIRA.
[JIRA] (JENKINS-61493) Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist
Title: Message Title Alexey Pelykh commented on JENKINS-61493 Re: Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist Second approach sounds really robust, yet I have no real idea what implications are there. Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205179.1584360231000.12262.1585075200188%40Atlassian.JIRA.
[JIRA] (JENKINS-61493) Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist
Title: Message Title Alexey Pelykh commented on JENKINS-61493 Re: Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist Kalle Niemitalo seems so, huge blocker will take a look on various APIs maybe it's possible to trigger that somehow otherwise Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205179.1584360231000.12176.1585067940123%40Atlassian.JIRA.
[JIRA] (JENKINS-61493) Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist
Title: Message Title Alexey Pelykh commented on JENKINS-61493 Re: Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist Update: I can trigger appearance of the "/from" ref only by viewing the diff. Super-bad behaviour Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205179.1584360231000.12161.1585067760164%40Atlassian.JIRA.
[JIRA] (JENKINS-61493) Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist
Title: Message Title Alexey Pelykh commented on JENKINS-61493 Re: Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist Seems https://jira.atlassian.com/browse/BSERV-12198?focusedCommentId=2374169 is relatede as well Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205179.1584360231000.12158.1585067640091%40Atlassian.JIRA.
[JIRA] (JENKINS-61493) Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist
Title: Message Title Alexey Pelykh commented on JENKINS-61493 Re: Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist It seems that unless non-author user actually tries to view the PR, the "/from" ref is not created. So when I just use PRs on my own - "/from" is not created whatsoever, that's seems to be a severe case Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205179.1584360231000.12156.1585067040107%40Atlassian.JIRA.
[JIRA] (JENKINS-61493) Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist
Title: Message Title Alexey Pelykh commented on JENKINS-61493 Re: Lightweight checkout fails in Bitbucket Server 7.0; refs/pull-requests/*/merge does not exist Seems that on 7.1.0 "/from" are not revealed via ls-remove as well Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205179.1584360231000.12148.1585065720133%40Atlassian.JIRA.
[JIRA] (JENKINS-56926) Jenkinsfile not found in a subfolder
Title: Message Title Alexey Pelykh commented on JENKINS-56926 Re: Jenkinsfile not found in a subfolder https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/180 PR to fix the issue Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56926) Jenkinsfile not found in a subfolder
Title: Message Title Alexey Pelykh commented on JENKINS-56926 Re: Jenkinsfile not found in a subfolder Can confirm that downgrading to 2.4.2 fixes the issue. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56926) Jenkinsfile not found in a subfolder
Title: Message Title Alexey Pelykh commented on JENKINS-56926 Re: Jenkinsfile not found in a subfolder Here's the possible origin of the issue: https://github.com/brainbeanapps/bitbucket-branch-source-plugin/commit/868676d61ce3847547b6860b928d07c1679c144f Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54045) Jenkinsfile in subfolder not found
Title: Message Title Alexey Pelykh edited a comment on JENKINS-54045 Re: Jenkinsfile in subfolder not found In 2 Same issue is present with Bitbucket Source well: https://issues . 4 jenkins-ci . 3 its still not fixed org/browse/JENKINS-56926 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56926) Jenkinsfile not found in a subfolder
Title: Message Title Alexey Pelykh created an issue Jenkins / JENKINS-56926 Jenkinsfile not found in a subfolder Issue Type: Bug Assignee: Unassigned Components: bitbucket-branch-source-plugin Created: 2019-04-07 15:59 Environment: jenkins 2.170 bitbucket-branch-source-plugin 2.4.3 Priority: Major Reporter: Alexey Pelykh Looking up PRJ/project-xamarin-mobilesdk for branches Checking branch feature/BBA-913_iOS_Jenkinsfile from PRJ/project-xamarin-mobilesdk Checking branch master from PRJ/project-xamarin-mobilesdk ‘XamarinMobileSDK.iOS/Jenkinsfile’ not found Skipped 2 branches were processed Looking up PRJ/project-xamarin-mobilesdk for pull requests Checking PR-1 from PRJ/project-xamarin-mobilesdk and branch feature/BBA-913_iOS_Jenkinsfile ‘XamarinMobileSDK.iOS/Jenkinsfile’ not found Skipped 1 pull requests were processed Looking up PRJ/project-xamarin-mobilesdk for tags 0 tags were processed [Sun Apr 07 15:52:03 GMT 2019] Finished branch indexing. Indexing took 0.27 sec
[JIRA] (JENKINS-56897) Support git clone --mirror in Git plugin
Title: Message Title Alexey Pelykh commented on JENKINS-56897 Re: Support git clone --mirror in Git plugin It can be done like that yet requires code like: pipeline { agent any parameters { string(name: 'srcUrl', description: 'Source (URL)') credentials(name: 'srcCredentials', description: 'Source (credentials)', credentialType: 'com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl', required: true) string(name: 'dstUrl', description: 'Destination (URL)') credentials(name: 'dstCredentials', description: 'Destination (credentials)', credentialType: 'com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl', required: true) } stages { stage('Clean') { steps { script { def tmp = pwd(tmp: true) sh "rm -rf $tmp/repository" } } } stage('Credentials') { steps { script { def tmp = pwd(tmp: true) withCredentials([usernamePassword(credentialsId: params.srcCredentials, usernameVariable: 'username', passwordVariable: 'password')]) { writeFile file: "$tmp/src-username.txt", text: username writeFile file: "$tmp/src-password.txt", text: password } writeFile file: "$tmp/src-askpass.sh", text: """#!/bin/sh case "\$1" in Username*) cat "$tmp/src-username.txt" ;; Password*) cat "$tmp/src-password.txt" ;; esac """ sh "chmod +x $tmp/src-askpass.sh" withCredentials([usernamePassword(credentialsId: params.dstCredentials, usernameVariable: 'username', passwordVariable: 'password')]) { writeFile file: "$tmp/dst-username.txt", text: username writeFile file: "$tmp/dst-password.txt", text: password } writeFile file: "$tmp/dst-askpass.sh", text: """#!/bin/sh case "\$1" in Username*) cat "$tmp/dst-username.txt" ;; Password*) cat "$tmp/dst-password.txt" ;; esac """ sh "chmod +x $tmp/dst-askpass.sh" } } } stage('Pull') { steps { script { def tmp = pwd(tmp: true) withEnv(["GIT_ASKPASS=$tmp/src-askpass.sh"]) { sh "git clone --mirror ${params.srcUrl} $tmp/repository" } } } } stage('Push') { steps { script { def tmp = pwd(tmp: true) withEnv(["GIT_ASKPASS=$tmp/dst-askpass.sh"]) { dir("$tmp/repository") { sh "git push --mirror ${params.dstUrl}" } } } } } } }
[JIRA] (JENKINS-54045) Jenkinsfile in subfolder not found
Title: Message Title Alexey Pelykh commented on JENKINS-54045 Re: Jenkinsfile in subfolder not found In 2.4.3 its still not fixed Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56897) Support git clone --mirror in Git plugin
Title: Message Title Alexey Pelykh created an issue Jenkins / JENKINS-56897 Support git clone --mirror in Git plugin Issue Type: Bug Assignee: Mark Waite Components: git-plugin Created: 2019-04-05 08:28 Priority: Minor Reporter: Alexey Pelykh Support git clone --mirror in Git plugin to enable usage of credentials via GIT_ASKPASS for mirroring the repositories. It would be great to have generic withCredentials() { git.sh "clone --mirror " git.sh "push --mirror" } Add Comment
[JIRA] (JENKINS-56897) Support git clone --mirror in Git plugin
Title: Message Title Alexey Pelykh updated an issue Jenkins / JENKINS-56897 Support git clone --mirror in Git plugin Change By: Alexey Pelykh Issue Type: Bug New Feature Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.