Re: Jenkins git supports subtree?

2017-02-08 Thread Mark Waite
I'm not aware of any support to update a remote Git repository from pipeline yet. I thunk there may be one pull request pending to add GitPublisher support to pipeline, but I have not evaluated it yet. Mark Waite On Tue, Feb 7, 2017, 6:58 AM Witold Konior <948...@gmail.com> wrote: >

Re: How to define a Git repository with two remotes in Pipeline DSL?

2017-02-06 Thread Mark Waite
le working directory. You might look at the syntax it generates to see if something similar is allowed for pipeline DSL. Mark Waite On Mon, Feb 6, 2017 at 6:32 AM 'Marc Rohlfs' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > Hi there, > > how can I define a Git reposi

Re: Not able to pulll the code from GitLab using Jenkins

2017-02-04 Thread Mark Waite
ur username/password credentials work from a command line for that repository, using that URL? If not, that is a good way to check that the username/password works outside Jenkins. Mark Waite On Fri, Feb 3, 2017 at 1:58 AM Sivakrishna Yarra < sivakrishna.ya...@ramyamlab.com> wrote: > Hello Guys,

Re: slave 2.52, IBM JVM 1.8, Out of memory at end of build

2017-02-01 Thread Mark Waite
installer). That gives you the most tested environment (Oracle JVM) to run your agent, and still allows you to run jobs using either the Oracle JVM or the IBM JVM. Mark Waite On Wed, Feb 1, 2017 at 4:25 PM Mikhail Ramendik <m...@ramendik.ru> wrote: > Hello, > > I am getting an out o

Re: Pipeline: wildcard for branch name

2017-01-28 Thread Mark Waite
The freestyle job is a single job which would build each branch that matches as part of that single job. The multi-branch pipeline will automatically create a job per branch which matches the wildcard and has a Jenkinsfile. That's where you ultimately want to go. Mark Waite On Sat, Jan 28

Re: Pipeline & Git branch

2017-01-27 Thread Mark Waite
Did you try the steps I described earlier? https://groups.google.com/d/msg/jenkinsci-users/jiwtA088sXc/BjL-X6DjCwAJ On Friday, January 27, 2017 at 9:12:38 PM UTC-7, Sharan Basappa wrote: > > > I would like to list out all branches in Git with a specific naming > convention (feature_*) and

Re: Pipeline: wildcard for branch name

2017-01-26 Thread Mark Waite
ults on their branch, without intermixing changes from other branches in the job history. If you're a docker user, you can see examples of each of those types of jobs in the lts-with-plugins branch of my Jenkins docker definition ( https://github.com/MarkEWaite/docker/tree/lts-with-plugins) . Mar

Re: Merge before Build and push back to git origin

2017-01-25 Thread Mark Waite
I assume that when you say that you have two branches, you mean two branches that are in the same git repository. If that is correct, then you should be able to merge without using the multiple SCM's plugin. Mark Waite On Mon, Jan 23, 2017 at 8:12 AM 'HaPe' via Jenkins Users < jenkinsci-us

Re: Jenkins with Bitbucket always timeouts

2017-01-23 Thread Mark Waite
Can you provide more details about the conditions that are different between the working and the failing cases? I'm not aware of a regression in that particular area between git client plugin 2.0.0 and git client plugin 2.2.1. Mark Waite On Mon, Jan 23, 2017 at 3:03 AM 张则昊 <zehao...@gmail.

Re: Trigger job upon pull request merg into master.

2017-01-22 Thread Mark Waite
ossible starting point for the type of chooser you're envisioning. Mark Waite On Sun, Jan 22, 2017 at 9:46 AM Isaac Eliassi <isaac.eli...@gmail.com> wrote: > Hi, > > > > We are looking for a way to trigger a job when a pull request is being > merged into master. > >

Re: Jenkins with Bitbucket always timeouts

2017-01-21 Thread Mark Waite
. Mark Waite On Sat, Jan 21, 2017 at 2:24 PM Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > Are your credentials a ssh key *with a passphrase*? > > If yes, try an ssh key without a passphrase. There is an known issue in > how the git plugin uses credentials that onl

Re: [ANNOUNCE] Jenkins Upgrades to Java 8

2017-01-19 Thread Mark Waite
I agree with Baptiste. Don't mix JDK versions between master and agents. I had the illusion that the git plugin worked across that environment until a bug was found which shattered that illusion. Mark Waite On Thu, Jan 19, 2017 at 9:51 AM Baptiste Mathus <m...@batmat.net> wrote: >

Re: Scripting installation of JDK

2017-01-13 Thread Mark Waite
55/ch04s06.html https://wiki.jenkins-ci.org/display/JENKINS/Tool+Auto-Installation describes it on the wiki page. Mark Waite On Thu, Jan 12, 2017 at 9:02 PM Damien Caro <damien.c...@gmail.com> wrote: > Hello, > > I'm trying to automate the installation of Jenkins. I have a VM

Re: Having problem in importing the code from Github to Jenkins.

2017-01-11 Thread Mark Waite
. Mark Waite On Wed, Jan 11, 2017 at 10:24 PM Sathish M <msathish...@gmail.com> wrote: > > <https://lh3.googleusercontent.com/-YJJiYTc7b2A/WHcRxN-VM2I/AIQ/lRQcDGJ-5Y0finjSRdDhyxVJ02z34dUUACLcB/s1600/Capture2.PNG> > > I am getting like this when I in

Re: Help me with this error

2017-01-11 Thread Mark Waite
If you installed git and added it to the PATH, then you should only need to use the default "git". If you did not add it to the PATH, then you'll need to provide the absolute path to the executable. Mark Waite On Wed, Jan 11, 2017 at 10:28 PM Sathish M <msathish...@gmail.com>

Re: Help me with this error

2017-01-11 Thread Mark Waite
e default git installation has been deleted and you need to add a git installation named "Default". Unfortunately, the global configuration page should show some warning that the field should not be empty. It doesn't do that. Mark Waite On Wed, Jan 11, 2017 at 9:25 PM Sathish M &l

Re: Having problem in importing the code from Github to Jenkins.

2017-01-11 Thread Mark Waite
to the repository. Mark Waite On Wed, Jan 11, 2017 at 9:51 PM Sathish M <msathish...@gmail.com> wrote: > Yeah okay, > In Github, > I have created an account in GitHub. > In Jenkins, > I added the needed Github plugins into my jenkins. And I added > the c

Re: Git Plugin - Merge before build, push on success and delete branch after

2017-01-11 Thread Mark Waite
you. You might also consider deleting the branch in a downstream job which runs on a node dedicated to the "delete branch" task. Mark Waite On Wed, Jan 11, 2017 at 3:58 PM Robert Berta <robert.be...@gmail.com> wrote: > Hi folks, > > I using Git Plugin 3.0.1. > I select

Re: Help me with this error

2017-01-11 Thread Mark Waite
r, please submit an enhancement request to make that field warn if it is empty. Mark Waite On Wed, Jan 11, 2017 at 10:31 AM <harold.put...@lexmark.com> wrote: > Is Git properly installed on your Jenkins server? > > > https://support.cloudbees.com/hc/en-us/articles/218156697-Git-Fai

Re: jenkins groovy plugin - setup and failures

2017-01-09 Thread Mark Waite
you've resolved the global configuration of the location of the groovy interpreter, you may still need to fix some additional configurations. Mark Waite On Mon, Jan 9, 2017 at 6:46 AM Gb Gb <biran@gmail.com> wrote: > Im trying to execute groovy command using the groovy plugin >

Re: Getting "Couldn't find any revision to build" error while using Jenkins with BitBucket repository

2017-01-06 Thread Mark Waite
Comments are inline. Mark Waite On Fri, Jan 6, 2017 at 2:53 PM Saurabh Saxena <saurabh.saxena...@gmail.com> wrote: > Hi All, > > I am new to Jenkins and need your help with one of the error I am getting. > > I have my local Jenkins setup with Tomcat, and have integrate

Re: help on starting up Jenkins on Suse Linux

2017-01-06 Thread Mark Waite
Sorry, but I'm not a SUSE user. You'll need to investigate further on your own. Mark Waite On Fri, Jan 6, 2017 at 5:02 AM Vijai Meda <vijai...@gmail.com> wrote: > Thanks Mark. > I have downloaded OpenSuSe package and installed. > Now it simply says failed. > > hyslnx

Re: Git cannot read password after upgrading git client plugin from 1.19.6 to 2.1.0

2017-01-06 Thread Mark Waite
figure" because I believe it is theoretically possible to do that. The user "bobs" on serverfault says that he has done it, so I think it is possible. I've never done it. Mark Waite On Friday, January 6, 2017 at 3:19:52 AM UTC-7, Mark Waite wrote: > > If you choose to help evaluate th

Re: help on starting up Jenkins on Suse Linux

2017-01-06 Thread Mark Waite
it won't work. You should probably use the SUSE / openSUSE long term support package from http://pkg.jenkins-ci.org/opensuse-stable/ or the weekly from http://pkg.jenkins-ci.org/opensuse/ Mark Waite On Fri, Jan 6, 2017 at 3:15 AM Vijai Meda <vijai...@gmail.com> wrote: > Hi, > I have do

Re: Git cannot read password after upgrading git client plugin from 1.19.6 to 2.1.0

2017-01-06 Thread Mark Waite
If you choose to help evaluate the pull request, you can download the latest build from my evaluation branch at https://drive.google.com/open?id=0B9GyYWyfT1N5Y1NPS1hnbU13elk . That is an unreleased build of the git client plugin which includes the Windows password escaping change. Mark Waite

Re: Git cannot read password after upgrading git client plugin from 1.19.6 to 2.1.0

2017-01-06 Thread Mark Waite
ugin pull request which adjusts the Windows escaping of passwords in the plugin. The pull request is PR231 <https://github.com/jenkinsci/git-client-plugin/pull/231> on github My apologies for those bugs. The year of beta testing before release of git client plugin 2.0 was not enough t

Re: Updating Config File Provider Plugin to v2.15.1 fails if the congiuration files are created with a old version (post with a workaround)

2017-01-05 Thread Mark Waite
was installed, and still includes a reference to that config file. Any suggestions of steps I should take to resolve that message? Mark Waite On Thu, Jan 5, 2017 at 7:20 AM Sigbjørn Tvedt <sigbjo...@gmail.com> wrote: > Hi. > We tried to upgrade our jenkins instance with the newest versions

Re: jenkins gitlab plugin - credentials problems

2017-01-03 Thread Mark Waite
for that credentials I'd. When you find the file, it's location in the directory structure will suggest where to look in the UI. Mark Waite On Tue, Jan 3, 2017, 2:23 AM <j...@norricorp.f9.co.uk> wrote: > Hi, > I set up various Jenkins jobs using the gitlab plugin several months ago >

Re: Bitbucket HTTPS git clone failed via the pipeline script (Invalid username or password)

2016-12-29 Thread Mark Waite
I guess you could declare the credentials in a variable and then reference the variable. My pipelines which checkout from multiple repositories are configured to use credentials and they reference the credentials by name. Mark Waite On Tue, Dec 27, 2016 at 9:03 PM <pirah...@gmail.com>

Re: Automating Jenkins Installation Steps

2016-12-29 Thread Mark Waite
/latest/index.html seems to be a puppet module Mark Waite On Wednesday, December 28, 2016 at 4:02:33 AM UTC-7, Karthik Veeragoni wrote: > > Sorry for the typos: > > After installation of jenkins, when for the first time we access the > Jenkins web UI, we will go through follo

Re: Jenkinsfile Sysntax

2016-12-28 Thread Mark Waite
od enough, you merge the feature branch to the stable branch so that others can benefit from your work. Mark Waite On Wed, Dec 28, 2016 at 9:00 AM Atul Sharma <1989atulsha...@gmail.com> wrote: > Thanks mark , Can you please also help me how to do > It once some steps , so that I can

Re: Jenkinsfile Sysntax

2016-12-28 Thread Mark Waite
keeping the Jenkinsfile in source control, then you can use the "Replay" button on the Jenkins job user interface to allow you to edit the Jenkinsfile used for a previous run, making changes as needed, then watching them run. Mark Waite On Wed, Dec 28, 2016 at 5:43 AM Atul Sharma &l

Re: Automating Jenkins Installation Steps

2016-12-26 Thread Mark Waite
to that unsecured instance, configure security, create user accounts, etc., you can then copy the configuration files from that docker image to your own image. When you build that docker image, you'll have a Jenkins image secured the way you want, with the default user accounts you want. Mark Waite

Re: myapp.exe closes when jenkins Windows batch process finishes

2016-12-24 Thread Mark Waite
https://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build provides good insights into management of processes inside (and and beyond) job context. Mark Waite On Sat, Dec 24, 2016 at 3:45 PM Nef Rey <ngreyes...@gmail.com> wrote: > I basically have a Jenk

Re: Pipeline with multiple Git repositories - how to checkout?

2016-12-21 Thread Mark Waite
of the Jenkins job. I don't want a pipeline job where the pipeline is defined inside the Jenkins job. A pipeline in the Jenkins job is separate from the source code, and that feels like the wrong direction to me. Mark Waite On Wed, Dec 21, 2016 at 12:22 PM Torsten Reinhard <

Re: Pipeline with multiple Git repositories - how to checkout?

2016-12-21 Thread Mark Waite
small repository that contains a series of branches that I use to define the jobs which will checkout and build from multiple repositories. That allows me to have a small repository which defines how I want to build many other repositories. Mark Waite On Wed, Dec 21, 2016 at 10:25 AM Torsten Rein

Re: Authentication problem: Error fetching remote repo 'origin'

2016-12-21 Thread Mark Waite
I think you will be better served by using the URL without embedding the credentials into the URL, then assign a Jenkins credential in that job definition. Mark Waite On Tue, Dec 20, 2016 at 6:12 AM Emma Lilliestam <emma.lillies...@gmail.com> wrote: > Hi, > I'm trying to set

Re: Bitbucket HTTPS git clone failed via the pipeline script (Invalid username or password)

2016-12-21 Thread Mark Waite
ow to read an environment variable in a pipeline job. Mark Waite On Tue, Dec 20, 2016 at 11:46 AM ez pub <pirah...@gmail.com> wrote: > I know that if I add the crdentialsId, it will work, like: > fileLoader.fromGit('script_to_call', ' > https://bitbucket.org/myproject/script-rep

Re: Git pull from GitHub private repository

2016-12-19 Thread Mark Waite
. Did you associate that credential with that repository URL in the job definition? Is the public key for that private key registered with github as an allowed public key for that repository? Are you using any entries in ~/.ssh/config to use unexpected or different private keys in your access to the github rep

Re: Bitbucket HTTPS git clone failed via the pipeline script (Invalid username or password)

2016-12-19 Thread Mark Waite
and) along with the credentialsId from the parent Jenkins job. Mark Waite On Mon, Dec 19, 2016 at 12:34 PM <pirah...@gmail.com> wrote: > Firstof, my company won't allow SSH connection to the bitbucket.org site > and any other. So I have to use HTTPS for checkout scm in a multibranch > p

Re: config.xml is overwritten on first start of docker container

2016-12-19 Thread Mark Waite
un? I regularly use a modified config.xml to configure a Jenkins Docker instance, and it has worked quite well for me. If you'd like to compare how mine is configured, you could look at https://github.com/MarkEWaite/docker/blob/lts-with-plugins/ref/config.xml . Thanks, Mark Waite On Mon, Dec 19, 201

Re: Plugins not loading

2016-12-14 Thread Mark Waite
Feel free to improve the documentation. If you couldn't find what you needed, you can help the community by improving the documentation in that area where you found it weak. Mark Waite On Wed, Dec 14, 2016 at 1:37 PM Nef Rey <ngreyes...@gmail.com> wrote: > This turned out to

Re: Plugins not loading

2016-12-13 Thread Mark Waite
release. Refer to https://wiki.jenkins-ci.org/display/JENKINS/LTS+Release+Line for a description of the long term support release line, and https://jenkins.io/ for the download links to the long term support release. Mark Waite On Tue, Dec 13, 2016 at 3:04 PM Nef Rey <ngreyes...@gmail.com> wrote

Re: Poll SCM using Git builds multiple times if not successfull

2016-12-10 Thread Mark Waite
Comments are inline On Thu, Dec 8, 2016 at 9:20 AM Mike Neary wrote: > I have a project that poll's Git every 5 minutes and builds on changes > using the Git plugin in a pipeline job. The issue I'm having is that if > the build fails (inside of 5 minutes), the next poll

Re: how to use git commands inside a Multi Branch Project?

2016-11-30 Thread Mark Waite
strengths and weaknesses. None of them are elegant enough to be called "straight-forward". Mark Waite On Wed, Nov 30, 2016 at 7:39 AM Torsten Reinhard <em...@torstenreinhard.de> wrote: > See also > http://stackoverflow.com/questions/39237910/jenkins-pipeline-cann

Re: Git with Jenkins

2016-11-26 Thread Mark Waite
Yes. On Sat, Nov 26, 2016 at 11:43 AM Anup wrote: > If I commit code to remote repository with gitignore created to exclude > directory containing test data (username and password), will software build > run successfully in Jenkins? > > -- > You received this message

Re: discard old build

2016-11-19 Thread Mark Waite
the problem. Mark Waite On Wed, Oct 26, 2016 at 4:12 PM Eddú Meléndez Gonzales < eddu.melen...@gmail.com> wrote: > Hi, > > Jenkins is working with Bitbucket Branch Source Plugin, "Discard old > build" is set when "Bitbucket Team/Project" job is create

Re: test msg

2016-11-15 Thread Mark Waite
Got it On Tue, Nov 15, 2016, 10:38 AM Richard Ginga wrote: > just checking that I joined this mailing list correctly > > anyone respond? > > thanks > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To

Re: Not able to url encode password parameter for credentialed git tagging

2016-10-27 Thread Mark Waite
The simplest solution is to approve that method for use in your Jenkins. Then you can use the URLEncoder class in Jenkinsfile on that instance. Mark Waite On Thu, Oct 27, 2016 at 7:57 AM Daniel Collette <gth7...@gmail.com> wrote: > Using multibranch pipeline plugin and credential

Re: Output of shell command into a variable

2016-10-21 Thread Mark Waite
for an example, or the stackoverflow answer at http://stackoverflow.com/questions/36507410/is-it-possible-to-capture-the-stdout-from-the-sh-dsl-command-in-the-pipeline# . Mark Waite On Fri, Oct 21, 2016 at 12:08 PM Sam K <sreeram...@gmail.com> wrote: > Currently, I'm doing this. > > sh ' &

Re: Any plugin is there for generating continuously reports for API's

2016-10-20 Thread Mark Waite
data is used to generate the reports? - How is the data accessed? - In what context should the data be presented (part of a Jenkins job, independent of all Jenkins jobs, hybrid)? - What is the output format of the reports (HTML, PDF, plain text, PostScript, ...)? Mark Waite On Thu

Re: Monitoring network folder using FSTrigger plugin

2016-10-15 Thread Mark Waite
attach a label to Windows agents which have it mounted, then restrict the job to only run on those labels. Mark Waite On Sat, Oct 15, 2016 at 4:32 AM Ram D <dndi@gmail.com> wrote: > Anyone > Is it at-least possible??? > > On Fri, Oct 14, 2016 at 7:06 PM, Ram D <dndi

Re: Is there any way to make eclipse run Groovy with the same limiyations as the Pipeline Plugin?

2016-10-14 Thread Mark Waite
I don't know of a way to make eclipse run the same groovy as Jenkins, but the "Replay" button in Jenkins has made my debugging much faster. I can remove build stages and change arguments for faster iteration on experiments. Mark Waite On Fri, Oct 14, 2016, 4:16 AM Jonathan Hodgson

Re: Jenkins Mail Commander setup

2016-10-13 Thread Mark Waite
It is impressive that a plugin from 2011, based on Jenkins 1.398, which seems to have only released a single version, is still running with a Jenkins version roughly 300 releases later. You probably want to use email-ext or a more recently maintained plugin to send e-mail. Mark Waite On Thu

Re: Automated Jenkins Installs

2016-10-13 Thread Mark Waite
works with complex setups in a docker environment. I'm sure there are others with much better techniques than mine, but you're welcome to refer to my techniques as one way of doing it. Mark Waite On Thu, Oct 13, 2016 at 9:54 AM Ryan Cocks <r...@ryancocks.net> wrote: > Hi, > > I'm

Re: Sharing git repos amongst multibranch workspaces?

2016-10-12 Thread Mark Waite
caches on agents, with an "automatic reference" to the repository cache from jobs that "opt-in" to using the repository cache. There are several other very good suggestions in JENKINS-33273 worth considering as well. Thanks, Mark Waite On Wed, Oct 12, 2016 at 4:14 PM Alex Ehlke &l

Re: Jenkins all changes number

2016-10-12 Thread Mark Waite
That format looks a little different than I'd expect from a git change. Possibly they are using Mercurial (which I believe has a concept of commit number, in addition to the hash of the commit)? It would be helpful to know what SCM they are using. Mark Waite On Wed, Oct 12, 2016 at 4:30 PM

Re: Jenkinsfile to clone git repo and copy scripts to remote server

2016-10-09 Thread Mark Waite
a repository, stash the files from the original directory, then unstash them into a new directory on a different agent. Mark Waite On Sun, Oct 9, 2016 at 8:54 PM Mario Rodriguez <rvill...@gmail.com> wrote: > Hi, I'm new to Jenkins and I'm trying to find how to clone a git repo and > th

Re: How can I view the changes made to a webpage made from commandline in Jenkins?

2016-10-08 Thread Mark Waite
solutions. https://en.wikipedia.org/wiki/List_of_web_testing_tools provides a nice list of web test automation tools. Mark Waite On Fri, Oct 7, 2016 at 3:18 AM Jenkins Johnny <airtmcdanie...@gmail.com> wrote: > I'm a bit new to Jenkins, and I require it to build automate

Re: Git plugin polling

2016-10-05 Thread Mark Waite
? > > Unfortunately, no, building branches with a certain prefix is not what blocks git plugin polling (on a specific job) while the job is running. https://issues.jenkins-ci.org/browse/JENKINS-25304 indicates that if there is a wildcard in the branch to be built, then polling will block on that j

Re: Pipeline Issue

2016-10-04 Thread Mark Waite
plugin release. The percent character is not used in the directory name now. Mark Waite On Tue, Oct 4, 2016, 12:33 AM vishad alekh <vishadal...@gmail.com> wrote: Hi Mark, Thanks for your reply. 1- I have not configured anything for my master node and still it creates on master. So does tha

Re: Pipeline Issue

2016-10-03 Thread Mark Waite
which is created. Can you describe how you envision using that changed name, and how you would avoid job name collisions? Mark Waite On Mon, Oct 3, 2016 at 12:03 AM vishad alekh <vishadal...@gmail.com> wrote: > Hi Sam, > > Thanks for your reply. > > Can anyone please as

Re: Metrics plugin results between different platforms

2016-10-01 Thread Mark Waite
and test results may vary depending on the agent which executes a test, but I don't see any indication that the metrics plugin processes individual test results in any way. Mark Waite On Sat, Oct 1, 2016 at 11:09 AM <robertojaguilar...@gmail.com> wrote: > Hi, > > I have a q

Re: Reference repos and the multibranch pipeline plugin

2016-09-30 Thread Mark Waite
/jenkins-bugs-multibranch-pipeline-no-localbranch/config.xml . Hope that helps, Mark Waite On Fri, Sep 30, 2016 at 6:13 AM Jørgen Sølvernes Sandnes < jorgen.brudal.sand...@gmail.com> wrote: > Hi! > > I've enjoyed trying out the pipeline and multibranch pipeline plugin, and > it

Re: Merge Git Core Repo and Site Repo folder while Jenkins deployment

2016-09-28 Thread Mark Waite
I'm sorry, but I don't have a script handy to do that. You might investigate the "ant" build tool and its "copy" task. Mark Waite On Tue, Sep 27, 2016 at 5:08 AM kamlesh nattamai ramesh babu < nrkaml...@gmail.com> wrote: > Thanks very much *Mark Waite, *I was

Re: Merge Git Core Repo and Site Repo folder while Jenkins deployment

2016-09-26 Thread Mark Waite
en run a build step which combines the contents of the "WP-CONTENT" directory from each of those subdirectories into a single subdirectory of your choosing inside the workspace. I'm not sure what you mean when you say "Both the folder will get merged while deploying the code thru G

Re: Jenkins can't fetch remote repo

2016-09-24 Thread Mark Waite
at 12:45:32 AM UTC+8, Mark Waite wrote: > >> If you don't have access to that repository, you can't clone it. >> >> The git server hosting that repository will need to grant permission, >> either by that user placing their private key into the Jenkins server

Re: Jenkins can't fetch remote repo

2016-09-24 Thread Mark Waite
If you don't have access to that repository, you can't clone it. The git server hosting that repository will need to grant permission, either by that user placing their private key into the Jenkins server, or by adding access for another private key to that repository. Mark Waite On Sat, Sep 24

Re: Jenkins can't fetch remote repo

2016-09-24 Thread Mark Waite
To the left of the repository name in the Jenkins job definition there is an "Add" button which will allow you to add a private key to be associated with that repository in that job. The private key will then be matched against the public key stored on the git server. Mark Waite On S

Re: file version compact bug against gerrit git client plugin and gerrit trigger plugin

2016-09-22 Thread Mark Waite
ger plugin, as was used in the git plugin. The maintainer of the gerrtit trigger plugin can contact me for more details if they are needed. Mark Waite On Thu, Sep 22, 2016 at 2:58 PM <h...@brightedge.com> wrote: > Hi, > > After upgrading git client plugin from 1.19.6 to 2.0.0 and git plugin

Re: Does 'scm checkout' always give the same result with parallel builds in JenkinsFiles ?

2016-09-21 Thread Mark Waite
gin/commit/e15a431a62781c6081c57354a33a7e148a4452a1 and https://github.com/jenkinsci/git-plugin/commit/fcbdc768536c2c5286680734bbedc64fec0103c2 . Those fixes have not yet been included in a plugin release. Mark Waite On Wed, Sep 21, 2016 at 9:38 PM sleipnir <ke...@ityrant.net> wrote: > H

Re: Cloning private Git repo (2FA enabled) is timing out on Windows 10 Pro

2016-09-20 Thread Mark Waite
rsonal access token and use that as though it were your password. Mark Waite On Tue, Sep 20, 2016 at 7:26 PM wilson luu <luuwil...@gmail.com> wrote: > I've been stuck on this problem for a couple of days and I cannot find any > resolution to this problem. Some of my colleagues

Re: Server ssh errors on pipeline jobs

2016-09-20 Thread Mark Waite
files on the git server to see if they provide hints of the cause of the failures Mark Waite On Tue, Sep 20, 2016 at 6:43 PM Gary Hooper <gary.hoo...@avegant.com> wrote: > It's happening with both 3.0.0 and 2.4.4. (We just upgraded to 3.0.0 to > see if that would help;

Re: Server ssh errors on pipeline jobs

2016-09-20 Thread Mark Waite
Did your Jenkins server recently upgrade to git plugin 3.0.0? There has been at least one report of authentication issues on a Mac running git plugin 3.0.0. If so, then you might check if a revert of the upgrade to git plugin 3.0.0 resolves the issue. Mark Waite On Tue, Sep 20, 2016 at 5:29 PM

Re: Git commands succeed within a build step but fail when the plugin executes them.

2016-09-20 Thread Mark Waite
shouldn't need any further configuration globally or locally. If you choose to not modify the PATH to allow Windows command prompt to run git, then the git plugin doesn't (currently) attempt to make guesses about the location of the git executable. Mark Waite On Tue, Sep 20, 2016 at 12:19

Re: Git commands succeed within a build step but fail when the plugin executes them.

2016-09-20 Thread Mark Waite
You need to define the location of the git command on your Windows agent. Usually that is in C:\Program Files\Git\bin\git.exe. Look in the "Tool Locations" section of the agent configuration page. Mark Waite On Tue, Sep 20, 2016 at 11:04 AM Steve K <steve.kerxha...@carestre

Re: Same Jenkins job for different git branches

2016-09-19 Thread Mark Waite
12, not between 10 and 12. The difference computation is with the predecessor build, not with the predecessor build on that branch. I see under the builds folders there are git commits, tree, parents, etc. > Is that's what used to determine? > > Yes, the git repository is used to determ

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-16 Thread Mark Waite
No, there is no requirement for an id or a description. If you're using a username and password, then (as far as I can tell) you should be ok. Is the version of command line git running on your MacOS machine at least 1.7.10? Mark Waite On Fri, Sep 16, 2016 at 9:33 PM Hung <hung.ngu...@volt

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-16 Thread Mark Waite
You need a credential that looks like this -> [image: github-username-password.png] You don't want a credential that looks like this -> [image: github-rsa-private-key.png] Mark Waite On Fri, Sep 16, 2016 at 8:33 PM Hung <hung.ngu...@voltage-ent.com> wrote: > Thanks, I will try

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-16 Thread Mark Waite
plugin might be because command line git is waiting for ssh to satisfy the prompt. However, since you're using https, it should not be invoking the ssh authentication. Are you absolutely certain that you created a username and password credential rather than an ssh private key based credential? Mark W

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-16 Thread Mark Waite
with ssh access, not with https access) Mark Waite On Fri, Sep 16, 2016 at 3:41 PM Hung <hung.ngu...@voltage-ent.com> wrote: > HI, I am new to setting up Jenkins. I am trying to setup a Jenkins server > on a Mac Mini. I am having trouble with the Jenkins setup because I made a >

Re: Git Polling fails

2016-09-16 Thread Mark Waite
outside Jenkins which frequently polls and alerts you to any messages. That would provide more evidence the problem is on the server Mark Waite On Fri, Sep 16, 2016, 6:32 AM ok999 <nirish.ok...@gmail.com> wrote: > Yes, i am sure that i used the same command for duplicating.

Re: Jenkins 2 Pipeline script triggering itself. How to not poll for changes by git user Jenkins?

2016-09-14 Thread Mark Waite
No work around that I've found. On Wed, Sep 14, 2016 at 8:20 AM Phil Swenson wrote: > Hi, we have a Jenkins Pipeline job that changes a pom.xml file and checks > in the change. This of course causes the job to kick itself off again. > > Is there a way to configure the

Re: Git Polling fails

2016-09-13 Thread Mark Waite
Waite Mark Waite On Tue, Sep 13, 2016 at 10:39 AM ok999 <nirish.ok...@gmail.com> wrote: > I have a very simple job that polls the Git SCM, and if any changes if > kicks of a downstream job. For the last 1 week, the Git polling fails with > the below error. > > *Git Polling L

Re: Pipeline stage deprecated without block

2016-09-01 Thread Mark Waite
Thanks for asking the question! I see the same message and didn't find an explanation (at least that I understood) of the intention for a block argument in a stage. Looking forward to the answer.. Mark Waite On Thu, Sep 1, 2016 at 4:00 PM <jer...@bodycad.com> wrote: > Hi, >

Re: Git fetch fall into timeout

2016-08-30 Thread Mark Waite
if you use the form " https://bitbucket.org/scm/camps/xxx.git; and then define a username and password credential in Jenkins. Mark Waite On Tue, Aug 30, 2016 at 2:10 AM Readonly Guilhermo < suomaf.ma.i.em.m...@gmail.com> wrote: > Hi dear enthusiastic Jenkins users, I hope one of y

Re: Jenkins takes too long for loading recent changes of current job (15min approx)

2016-08-26 Thread Mark Waite
6049/profiling-a-running-java-application-in-command-line) script seems like it could help there, without requiring recompilation or a profiler. You could try running your Jenkins process with VisualVM as a profiler ( https://visualvm.java.net/profiler.html). Mark Waite -- You received

Re: Jenkins takes too long for loading recent changes of current job (15min approx)

2016-08-25 Thread Mark Waite
You could check the "raw git" performance in those repositories by changing into the workspace directory of one or more jobs and executing "git log" commands of various forms to confirm that command line git is performing well. Mark Waite On Thu, Aug 25, 2016 at 4:48 AM Ravalika &

Re: i am belove problem please help me

2016-08-25 Thread Mark Waite
. Mark Waite On Thu, Aug 25, 2016 at 6:19 AM Mark Waite <mark.earl.wa...@gmail.com> wrote: > Use "java -version" to check that the java installation is at least Java > 7. The latest Jenkins requires at least Java 7. > > Check that openjdk or Oracle Java are the java implem

Re: i am belove problem please help me

2016-08-25 Thread Mark Waite
lder Linux release, nearing the end of its vendor provided support life (April 2017 will end support for it). You might perform a test installation on a different computer running a newer Ubuntu version (like 14.04 or 16.04). Mark Waite On Thu, Aug 25, 2016 at 5:41 AM Shivaji Patne <shivaji2

Re: Can't initialize Jenkins

2016-08-19 Thread Mark Waite
directory. The earlier attempts may have left some "debris" in that folder. Mark Waite On Fri, Aug 19, 2016 at 8:31 AM Miguel Alver <mikela...@gmail.com> wrote: > You're right, I thought it was ok because it didn't complain... But now it > got stuck while initializatin

Re: Can't initialize Jenkins

2016-08-19 Thread Mark Waite
The httpPort command line arguments begins with two dashes, rather than the single dash that you included. Mark Waite On Fri, Aug 19, 2016 at 8:04 AM Miguel Alver <mikela...@gmail.com> wrote: > I'm trying to initialize Jenkins on windows using cmd and it seems it's > not launching

Re: When a server is designated as a permanent node, what happens to that server?

2016-08-18 Thread Mark Waite
I think you'll be best served by enabling a slave yourself and then seeking the answers on that system. You'll learn more, and you're more likely to find answers to the questions that are most relevant to you. Mark Waite On Thu, Aug 18, 2016 at 4:53 PM Kiran <catrinarain...@gmail.com>

Re: Teaching an old job new tricks

2016-08-17 Thread Mark Waite
unavailable. > > > > I implemented my own failover by using a node label parameter with a > default node of A and a “possible nodes” of the failover node. > > > > *From:* jenkinsci-users@googlegroups.com [mailto: > jenkinsci-users@googlegroups.com] *On Behalf Of *Mark Wai

Re: Teaching an old job new tricks

2016-08-16 Thread Mark Waite
es, it will switch freely from one node to another unless you have tied the job to a specific node. That's one of the reasons to tie a job to a capability based label rather than tying it to a specific node name. Mark Waite > That is, will old jobs run on the new node, if cajoled properly, or

Re: Teaching an old job new tricks

2016-08-16 Thread Mark Waite
is node". That will tend to keep most jobs off your master node (at least it does for me). Mark Waite On Tue, Aug 16, 2016 at 2:19 PM Indra Gunawan (ingunawa) <ingun...@cisco.com> wrote: > Use the Configuration Slicing Plugin : > https://wiki.jenkins-ci.org/display/JENKINS/Con

Re: Git ChangeLog, how to change base branch it computes from?

2016-08-15 Thread Mark Waite
The git plugin has an "Additional Behaviour" which tells the plugin to calculate changes from a base branch, rather than calculating the changes from the preceding build. Could you use that instead of writing code? Mark Waite On Mon, Aug 15, 2016 at 11:11 AM Eric Crahen <eric.cra

Re: Pipelines, github fork models and the Jenkinfile

2016-08-13 Thread Mark Waite
with it? Mark Waite On Sat, Aug 13, 2016 at 9:32 AM Arvind Jayaprakash <w...@anomalizer.net> wrote: > I seem to have developed a love/hate relationship with Jenkins 2.x > pipelines and some of the concepts that it imposes. Hence, I'd like to hear > how best operate in the new world

Re: Issues with Git plugin and Bitbucket

2016-08-13 Thread Mark Waite
Unfortunately, you've exhausted my guesses. You might try ssh protocol instead of https? Mark Waite On Sat, Aug 13, 2016 at 5:22 PM Daniel Guisinger <dguisin...@gmail.com> wrote: > Just tried that, it didn't work either :( > > Started by user Dan Guisinger <http://jenkins.op

Re: Issues with Git plugin and Bitbucket

2016-08-13 Thread Mark Waite
al instead of your user name and password? Mark Waite On Sat, Aug 13, 2016 at 4:50 PM Daniel Guisinger <dguisin...@gmail.com> wrote: > Sorry Mark, thats exactly what i was doing. > Like I said, it works the instant I mark the repository public, and the > credentials drop dow

<    5   6   7   8   9   10   11   12   13   14   >