multibranch pipeline & checkout over shh & permission denied

2019-05-23 Thread Ewelina Wilkosz
I have a pipelineJob where I use ssh to clone repository and configured credentials, let's call it X, are working great I also have a multibranch pipeline, where I configured "Checkout over SSH" and select same X credentials, but I can't clone I get ERROR: Error fetching remote repo 'origin' [

build image based on PullRequest and test it

2019-05-23 Thread Piotr Bracha
I would like to do building image based on PullRequest, run tests on it and destroy container. I attach Jenkinsfile where is whole pipeline which works on Jenkins master, which is installed on physical machine. There is also installed Docker. I have used image from https://hub.docker.com/r/jenkinsc

Priority Sorter Plugin

2019-05-23 Thread Adam Ben-David
Hi All, I just started to use this plugin, but unfortunately its not super obvious how to make a correct setup. In our setup we have multiple views: View A View B View C Inside of each view we have a number of individual jobs: View A.1 View A.2 View A.3 View B.1 View B.2 View B.3 What I

Re: multibranch pipeline & checkout over shh & permission denied

2019-05-23 Thread Mark Waite
Submodule authentication in the git plugin and git client plugin requires that the same protocol must be used for the parent repository and the submodules. Different credential methods are required to provide command line git with http/https credentials than with ssh credentials. A mix of the two

Re: multibranch pipeline & checkout over shh & permission denied

2019-05-23 Thread Ewelina Wilkosz
I see, but in my case I don't event get to submodules. multibranch pipeline fails on checking out main repo via ssh - I use checkout over SSH option - when a regular pipelineJob has no trouble with ssh On Thursday, May 23, 2019 at 2:44:23 PM UTC+2, Mark Waite wrote: > > Submodule authentication

Multi-module Maven project git polling for submodules

2019-05-23 Thread sakshi arora
Hi All, I have a multi- module project where submodules are remote git repositories. I have created a jenkins pipeline script where I use the checkout from Gitscm and have enable parameters like recursively clone submodules and track submodules. Whenever I run the build and test the parent pro

Re: multibranch pipeline & checkout over shh & permission denied

2019-05-23 Thread Mark Waite
You might double check that the private key credential you're using with that checkout does not use a passphrase, or if it uses a passphrase, does not include any shell special characters in the passphrase. There is a known bug in the git client plugin handling of ssh passphrases with shell specia

Re: multibranch pipeline & checkout over shh & permission denied

2019-05-23 Thread Ewelina Wilkosz
I am using exactly the same credentials to clone the same repo in a different type of job (pipelineJob) at the same agent - so I am almost 100% sure the credentials and keys are ok. I am wondering if this is some weird behavior from the plugin that someone else encountered or maybe I messed some

Re: multibranch pipeline & checkout over shh & permission denied

2019-05-23 Thread Ewelina Wilkosz
here is an update the ssh credentials accepted by other types of job are not recognized as ssh credentials in multibranch pipeline... ERROR: Credentials 'X' is of type 'Username with password' where 'com.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey' was expected those were create

Re: multibranch pipeline & checkout over shh & permission denied

2019-05-23 Thread Ewelina Wilkosz
update no 2, and the case is closed I had username and password type of credentials, with user the same as id of ssh credentials... once I've changed ssh credentials id it started working On Thursday, May 23, 2019 at 4:17:12 PM UTC+2, Ewelina Wilkosz wrote: > > here is an update > the ssh cred

Re: Download from Nexus using Jenkins job (Jenkins installed on Windows Machine)

2019-05-23 Thread Got V
Hello, Any help with this? On Wednesday, May 22, 2019 at 11:36:52 AM UTC-4, Got V wrote: > > Hello, > > I have a requirement. I need to download an Artifact from Nexus as a > Jenkins job and push it to a remote server. > > * For the Jenkins instance installed in Linux am doing it using the > E

Single Job for Multiple Repos

2019-05-23 Thread Corey Dion
Our dev team has asked if it would be possible to setup a single job, which is triggered by multiple repos. They have a series of Microservices that are deployed the same, using SAM templates. I know we can setup polling for Jenkinsfiles from our repo list and use a shared library, but I was cu

[EVENT]: DevOps World Jenkins World San Francisco volunteers needed

2019-05-23 Thread Alyssa Tong
Hi All, We are planning activities for the community booth at DW JW SF and are looking for the following volunteers: - Jenkins gurus for "Ask the Experts". This role is to help provide (Jenkins) tech support to attendees during the expo

On-prem k8s cluster and k8s plugin

2019-05-23 Thread Quang Truong
Hi, I start working with k8s and my working environment is the on-prem so I try to build the on-prem k8s via kubeadm and calico cni: http://www.centinosystems.com/blog/sql/getting-started-with-kubernetes-on-prem/ https://docs.projectcalico.org/v3.7/getting-started/kubernetes/ I try to configure

Re: build image based on PullRequest and test it

2019-05-23 Thread Quang Truong
We implemented a similar Use Case: - Create an isolate environment for each team - Whenever they have commit/PR triggers a build and create a container to build that project. - If the Dockerfile in that project has changed, refresh the docker image then create container based on