Re: Not clear how to set up Windows node, and where to get "secret" from

2017-10-17 Thread Mark Waite
may need the ssh-slaves plugin or the windows-slaves plugin or the swarm plugin. Mark Waite > > > AWS linux for Jenkins master > > AWS Windows server 2012 for node > > > > The steps I am following: > >- Configured a Jenkins master > - Add an agent throug

Re: Not clear how to set up Windows node, and where to get "secret" from

2017-10-16 Thread Mark Waite
On Mon, Oct 16, 2017 at 10:06 AM dandeliondodgeball wrote: > > I think that the answer to your problem is to use the steps I listed > rather than the steps that you listed. > > Fair. Let me back up. > > > > > 4. Downloaded the slave.jar from that web page > > Can you give

Re: Not clear how to set up Windows node, and where to get "secret" from

2017-10-16 Thread Mark Waite
the agent on the Windows machine. If you download the "slave.jar" file, create a local batch file that invokes that slave.jar, and run that batch file, you'll start your agent on the Windows machine. Mark Waite On Mon, Oct 16, 2017 at 8:23 AM dandeliondodgeball <chris.fo...@3derm.com

Re: Not clear how to set up Windows node, and where to get "secret" from

2017-10-13 Thread Mark Waite
your Jenkins master I don't expect any of those steps to call anything related to the Windows registry. Can you help me understand what I've missed in the steps you're taking? Mark Waite > Googling that I find this: > https://stackoverflow.com/questions/23754417/how-to-run-jenkins-slave

Re: Not clear how to set up Windows node, and where to get "secret" from

2017-10-13 Thread Mark Waite
When you open the Jenkins web page for that agent, if it is configured to start with "java -jar ...", then the specific command will be visible on the screen. Picture attached: [image: Agent-Config.PNG] Mark Waite On Fri, Oct 13, 2017 at 3:46 PM dandeliondodgeball <chris.fo...@3de

Re: yum install issues for jenkins stable release 2.73.2-1.1

2017-10-11 Thread Mark Waite
I installed Jenkins 2.73.2 LTS on a CentOS 6 machine today. Download speed was 10+ MB / second. Mark Waite On Wed, Oct 11, 2017 at 2:25 PM Katie Outram <katie.out...@gmail.com> wrote: > Is anyone else having issues with the latest jenkins stable release 2.73.2 > with a repo

Re: Console Output Proxy

2017-10-11 Thread Mark Waite
Based on https://issues.jenkins-ci.org/browse/JENKINS-31464, I assume there is a proxy configured in your Jenkins instance, and the git plugin is using that proxy configuration. Mark Waite On Wed, Oct 11, 2017 at 12:33 PM Joaquin Henriquez < joaquin.henriq...@countercept.com> wrote: >

Re: The first line of the Jenkinsfile should be "!#/usr/bin/env groovy", is that correct?

2017-10-11 Thread Mark Waite
Yes, it helps the editors. It won't allow you to run a Jenkins Pipeline script from the Linux command line. On Wed, Oct 11, 2017 at 9:55 AM dandeliondodgeball wrote: > My life is full of typos, so yes > > #! /usr/bin/env groovy > > Oh, it is only to make my IDE life a

Re: The first line of the Jenkinsfile should be "!#/usr/bin/env groovy", is that correct?

2017-10-11 Thread Mark Waite
I suspect you meant (and I've confirmed that the handbook has it correct).: #! /usr/bin/env groovy rather than !# /usr/bin/env groovy That can be helpful as the first line, as described in the handbook. It helps some editors and viewer recognize portions of the file more readily. Mark Waite

Re: Jenkins multibranch checkout

2017-10-09 Thread Mark Waite
If you're using declarative pipeline, then you need to use an option directive to skipDefaultCheckout. Refer to https://jenkins.io/doc/book/pipeline/syntax/#options for the syntax. If you're using scripted pipeline, insert the pre-scm operations before the checkout scm step. Mark Waite On Mon

Re: Git tag error in declarative pipeline

2017-10-08 Thread Mark Waite
the push. You could use the withCredentials wrapper to gather the user name and password, then could pass those into the sh step for use by command line git. For instance, you could push to a specific URL and embed the username and password in the URL to which you are pushing. Something l

Re: Master Node <> Worker Node: SSH relationship

2017-10-08 Thread Mark Waite
r.onMethodCall(GroovyInterceptor.java:23) > at > org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:133) > > > I am confused. I don't understand where/how git authentication happens. > Also when do we use sshagent vs credent

Re: Pipeline groovy script git checkout on master workspace

2017-10-06 Thread Mark Waite
If you're using the github branch source provider, I believe it uses GitHub API calls to avoid checkout on the master. If you're using "vanilla git", then there isn't a way to avoid that checkout, since "vanilla git" does not provide a way to request a single file from a rep

Re: Is there a way of cloning the repo an additional layer down?

2017-10-06 Thread Mark Waite
s like pipeline), rather than something that looks like a special case of the git plugin. The technique you used (with the git extension) works, but was really created to be used with freestyle projects. Pipeline has a better way to do it with the dir() step. Mark Waite > -- > You received

Re: ERROR: Processing failed due to a bug in the code.

2017-10-06 Thread Mark Waite
leared up by itself! > > --Charles > > > On Thursday, October 5, 2017 at 11:05:51 AM UTC-4, Mark Waite wrote: > >> That failure message is unrelated to git. >> >> The message "java.lang.RuntimeException: java.lang.IllegalArgumentException: >>

Re: How alert users of failed tests when running Jenkins locally?

2017-10-05 Thread Mark Waite
. If they regularly read e-mail, send them an e-mail. If they regularly read text messages, send them a text. If you're feeling really novel, you could buy each person a "blink" device to plug into a USB port, then notify by changing the color or pattern of the blink device. Mark Waite On

Re: ERROR: Processing failed due to a bug in the code.

2017-10-05 Thread Mark Waite
ory server to be defined globally is not finding a globally defined artifactory server. Check what changed in your global configuration. Mark Waite On Thu, Oct 5, 2017 at 8:47 AM Charles Karney <char...@karney.com> wrote: > I'm running Jenkins 1.589. > > > On Thursday, October

Re: GitSCM reference repository - how to verify it is working?

2017-10-04 Thread Mark Waite
. The artifact you need is git-client-plugin.hpi Upload it to your Jenkins instance and restart Jenkins, and reference repositories will be noted in the console log. Mark Waite On Wed, Oct 4, 2017 at 11:28 AM Luke Lussenden <luke.lussen...@gmail.com> wrote: > I'm not seeing any clear i

Re: Username and Password to checkout git in Jenkinsfile (groovy)

2017-10-01 Thread Mark Waite
If your GIT_URL is https, then you could embed the username and password into the URL. For example, the URL: https://github.com/user/repo can be https://username:passw...@github.com/user/repo Mark Waite On Sun, Oct 1, 2017 at 8:36 PM Vikas Kumar <vikas...@gmail.com> wrote:

Re: Multi branch pipeline with slave: path to ".git" folder for each branch

2017-09-28 Thread Mark Waite
result with "git" commands in the workspace, without needing to know the location of the workspace, or the location of the git repository in that workspace. It isn't that the location is an intentional secret, but the location is already abstracted away for the user by command line git

Re: Confused by Git Plugin Reference repo and dealing with a large repo

2017-09-27 Thread Mark Waite
Refer to https://support.cloudbees.com/hc/en-us/articles/115001728812 for detailed instructions on using a reference repository. Refer to https://youtu.be/jBGFjFc6Jf8?t=6426 for a 15 minute recording that is better organized than the 2016 Jenkins World presentation. Mark Waite On Mon, Sep 18

Re: github environment variables in jenkinsfile pipeline

2017-09-27 Thread Mark Waite
On Wed, Sep 27, 2017 at 7:39 PM Leonidas Kanellopoulos < leonidas.k...@gmail.com> wrote: > I have a multi repo job and want to check out in one pipeline 2 branches ( > 1 from each repo ) > > From repo A I Poll for a feature* and then I want to attempt to build > repo B with that same feature* or

Re: Multi branch pipeline with slave: path to ".git" folder for each branch

2017-09-27 Thread Mark Waite
er. On the agent, the .git folder is in the workspace directory. If you use a dir("xx") { } wrapper around the checkout, then the .git folder will be placed inside that directory. Can you explain why you need the location of the .git folder on the agent? Even more, can you explain why you

Re: first configuring "Jenkins"

2017-09-27 Thread Mark Waite
he XML configuration files from the JENKINS_HOME directory 3. Copy the plugins (hpi and/or jpi files) from the JENKINS_HOME/plugins directory 4. Place those copies into your docker image (or onto the file system where you're testing your "fresh install" steps) 5. Run that "

Re: first configuring "Jenkins"

2017-09-27 Thread Mark Waite
t what they change. Unfortunately, it generally takes more work to find examples, explore alternatives, and ultimately create the configuration you want. The "keep copies of the configuration files" is easy to configure initially, but is not as easy to read or modify as the groovy init sc

Re: Getting error 'FATAL: Failed to recompute children' when trying to build indexes on a multi branch pipeline.

2017-09-26 Thread Mark Waite
e the path to that reference repository in the "Advanced clone options" of the job definition - Bandwidth to git repository is limited enough that it needs more than 10 minutes to clone. Apply same techniques as "large repository" above Mark Waite On Tue, Sep 26, 2017 at 6:10 AM isha

Re: Bug on declarative checkout on Git / Windows path?

2017-09-26 Thread Mark Waite
I suspect that you need to exclude the default checkout which is performed by declarative pipeline. Refer to "skipDefaultCheckout" in the pipeline syntax reference https://jenkins.io/doc/book/pipeline/syntax/ On Tue, Sep 26, 2017 at 8:06 AM Thiago Carvalho Davila < thiago.dav...@serpro.gov.br>

Re: Can i run master and slave on same machine

2017-09-26 Thread Mark Waite
On Tue, Sep 26, 2017 at 9:38 AM Huzz Sto <huzzst...@gmail.com> wrote: > can Jenkins master and slave run on different network. or they both have > to be on the same network. > > So long as master and agent can communicate, they can run on separate networks. Mark Waite >

Re: Documentation on pipeline

2017-09-23 Thread Mark Waite
On Sat, Sep 23, 2017 at 7:18 AM Jon Schewe <jpsch...@mtu.net> wrote: > On Sat, Sep 23, 2017 at 8:08 AM, Mark Waite <mark.earl.wa...@gmail.com> > wrote: > >> >> >> On Sat, Sep 23, 2017 at 6:56 AM Jon Schewe <jpsch...@mtu.net> wrote: >&

Re: Documentation on pipeline

2017-09-23 Thread Mark Waite
n, while the withAnt wrapper seems to be delivered as part of the ant plugin. I don't think that difference is especially significant for the documentation. Mark Waite > > On Friday, September 22, 2017 at 9:43:58 PM UTC-5, Mark Waite wrote: > >>

Re: Documentation on pipeline

2017-09-22 Thread Mark Waite
en step <https://wiki.jenkins.io/display/JENKINS/Pipeline+Maven+Plugin>) Mark Waite On Fri, Sep 22, 2017 at 8:25 PM Jon Schewe <jpsch...@mtu.net> wrote: > I'm trying to switch to using the pipeline plugin and I'm having a really > hard time finding documentation. In part

Re: Scheduling a slave node reboot

2017-09-22 Thread Mark Waite
One technique is to reduce the number of executors on the agent to 1, then schedule a Jenkins job to perform the reboot. That assures the job performing the reboot is the only job on that agent. Mark Waite On Fri, Sep 22, 2017 at 5:40 PM Chris Packham <judge.pack...@gmail.com> wrote:

Re: first configuring "Jenkins"

2017-09-20 Thread Mark Waite
. Mark Waite On Wed, Sep 20, 2017 at 3:23 PM Diego Lagos <diegomauricio...@gmail.com> wrote: > I would like to ask you if there is a documentation explaining how to > configure through files, plugins, nodes, git repositories, etc ... > so you do not have to use the graphics con

Re: Declarative pipeline: how to execute steps before SCM checkout

2017-09-19 Thread Mark Waite
checked out? > > > On Monday, September 11, 2017 at 10:51:47 PM UTC-3, Mark Waite wrote: > >> As far as I understand it, you'll need to prevent the implicit checkout >> that is part of declarative, and then perform the checkout yourself within >> the declarative pi

Re: Help with SCM Polling a development branch and triggering a build job if there are changes

2017-09-18 Thread Mark Waite
Did you really name the branch in all upper case letters? Git branch names are case sensitive as far as I know, though that is likely complicated by those file systems which are case preserving but case insensitive (Windows). Mark Waite On Mon, Sep 18, 2017 at 1:00 PM <tderbyshir

Re: All jobs run when shared library is updated

2017-09-16 Thread Mark Waite
e definition of your implicitly loaded pipeline library? Mark Waite > On Sep 15, 2017 8:34 PM, "Mark Waite" <mark.earl.wa...@gmail.com> wrote: > >> One way to disable it is to redefine your library references so that each >> Jenkinsfile refers to a specific

Re: Have a job run for each branch of a shared library repo

2017-09-16 Thread Mark Waite
it use your pipeline shared library for its tests? A multi-branch pipeline would then monitor all the branches in that repository and report failures for the behaviors you're checking that are related to that specific run. Mark Waite On Sat, Sep 16, 2017 at 2:06 AM red 888 <fakemail

Re: All jobs run when shared library is updated

2017-09-15 Thread Mark Waite
to ignore push notifications, but it seems cleaner and clearer to state in your Jenkinsfile (or in the folder) the specific version of the pipeline shared library that you want to use. Mark Waite On Fri, Sep 15, 2017 at 3:52 PM red 888 <fakemailred...@gmail.com> wrote: > I have my whole

Re: Build triggers on bitbucket PRs leads to MissingObjectException: Missing unknown {HASH} after upgrading to LTS 2.6.0

2017-09-13 Thread Mark Waite
/artifacts/ ) and report in the comments of JENKINS-45729 if that avoids the problem you're seeing. Mark Waite On Wed, Sep 13, 2017 at 4:44 PM Ahmed Hosni <ahmedhosni.cont...@gmail.com> wrote: > Hi all, > > After upgrading to Jenkins 2.60.2 (with git client plugin 2.5.0 and > git-pl

Re: Build submodule with building the parent module

2017-09-12 Thread Mark Waite
(Makefile, maven pom, etc.) and rely on those scripts to determine which things have changed since the last build in that workspace. Another alternative would be to create a job which only operates on the submodule, without cloning the parent module or any of the other submodules. Mark Waite On T

Re: Declarative pipeline: how to execute steps before SCM checkout

2017-09-11 Thread Mark Waite
As far as I understand it, you'll need to prevent the implicit checkout that is part of declarative, and then perform the checkout yourself within the declarative pipeline. Refer to declarative options <https://jenkins.io/doc/book/pipeline/syntax/#options> and the skipDefaultCheckout. Mark

Re: Multiple repository and git parameter plugin

2017-09-11 Thread Mark Waite
with multiple repositories beneath it. Mark Waite On Mon, Sep 11, 2017 at 3:59 AM Tony Martinet <tonymarti...@gmail.com> wrote: > Hi, > > Thanks for your answer Mark, and sorry for the delay of mine. > I played with the pipeline script, and it's a nice solution, but i feel it >

Re: [hard] problem building github tags

2017-09-06 Thread Mark Waite
multi-branch pipeline evaluates every change, but you want to make a later decision if that build should be promoted. I'm not sure that is entirely what you're seeking, but it is closer to what you're seeking. Mark Waite On Wed, Sep 6, 2017 at 5:43 PM <ahamm...@anchorfree.com> wrote: >

Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Mark Waite
;https://github.com/MarkEWaite/jenkins-bugs/blob/028bd80a6987e0cdc7d2ae4b5e7d61037d4483bb/vars/logContains.groovy> which uses manager. Mark Waite On Tue, Aug 29, 2017 at 4:00 AM Daniel Beck <m...@beckweb.net> wrote: > > > On 29. Aug 2017, at 03:31, Shiran <shiranho...@gmail.c

Re: Multijob out of memory issues

2017-08-28 Thread Mark Waite
Git plugin has known issues with keeping and reading too much build data. Limiting the amount of history had been my best work around to date. Mark Waite On Mon, Aug 28, 2017, 7:21 PM Shashank Bhargav <shashbhar...@gmail.com> wrote: > 8192m is the value for XMX we have curr

Re: Jenkins shared library for pipelines “No such property”

2017-08-25 Thread Mark Waite
Maybe you need a "return this" at the end of the groovy file (as in https://github.com/docker/jenkins-pipeline-scripts/blob/master/src/com/docker/utilities/AWSSync.groovy )? On Fri, Aug 25, 2017 at 9:08 AM red 888 wrote: > Im trying to wrap my head around shared

Re: Multiple repository and git parameter plugin

2017-08-25 Thread Mark Waite
that currently. They run 4 concurrent configurations. Two of the configurations run on windows, two on linux. Two of the configurations evaluate the plugin inside the default Jenkins version, two of the configurations evaluate the plugin in a non-default Jenkins version. Mark Waite On Fri, Aug 25, 2017

Re: Upgrade Jenkins, or not ?

2017-08-23 Thread Mark Waite
n resolved - Performance and scale improvements - Reliability improvements - Significant enhancements in many plugins Mark Waite On Wed, Aug 23, 2017 at 2:44 PM louwho <louels...@comcast.net> wrote: > Off and on, I have touched upon Jenkins. My expertise is InstallShield > developm

Re: Not able to start multiple jobs by clocking on Build button in front of job

2017-08-23 Thread Mark Waite
If it is enabled for the job, and is not working, then that is a regression. It works well for me on Jenkins 2.60.3 (the most recent long term support release). Mark Waite On Wed, Aug 23, 2017 at 9:49 AM Manisha Arora <mani...@veertu.com> wrote: > I checked and that is enabled. > &

Re: Not able to start multiple jobs by clocking on Build button in front of job

2017-08-23 Thread Mark Waite
If the job is a freestyle project or a matrix project, then you need to check the "Execute concurrent builds if necessary" check box in the job configuration. Mark Waite On Tue, Aug 22, 2017 at 1:54 PM <mani...@veertu.com> wrote: > Hi, > > I used to be able to start

Re: Github multibranch filtering

2017-08-23 Thread Mark Waite
If can ignore pull requests from forks by deleting the "Discover pull requests from forks" behavior. Mark Waite On Wed, Aug 23, 2017 at 3:58 AM Steven Foster <stevengfos...@gmail.com> wrote: > Does the Github multibranch source allow filtering for PRs that target a > parti

Re: rsync failed: ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

2017-08-08 Thread Mark Waite
t; directory Permission denied (gssapi-with-mic,publickey)." > So I guess it didn't solve the problem... > > On Monday, August 7, 2017 at 4:28:24 PM UTC+3, Mark Waite wrote: > >> If it works ok with setsid, then isn't that the solution to your issue? >> >> On Mon

Re: Want to get branch or ref string from Github Web Hook on Build

2017-08-08 Thread Mark Waite
ad the git repository and report the branch name to stdout, then assign that stdout value to a var. Mark Waite On Tue, Aug 8, 2017 at 1:42 PM Jack Brooks <jbro...@snapapp.com> wrote: > Hi Mark! > > Yeah, I'm not using a multibranch job in this case. Is that the idiomatic > Jenkins

Re: Want to get branch or ref string from Github Web Hook on Build

2017-08-08 Thread Mark Waite
BRANCH_NAME should have the value of the branch name in your pipeline context. See https://stackoverflow.com/questions/32789619/jenkins-multibranch-pipeline-what-is-the-branch-name-variable Mark Waite On Tue, Aug 8, 2017 at 1:27 PM <jbro...@snapapp.com> wrote: > Hi all, > > I

Re: Weird failure in a build job (Python egg -> RPM)

2017-08-08 Thread Mark Waite
Possibly you have a different locale setting in the context of your Jenkins job than you have in the context where it works? LC_ALL or LANG or ... Mark Waite On Tue, Aug 8, 2017 at 9:05 AM Peter Berghold <salty.cowd...@gmail.com> wrote: > I have a Python egg that I'm trying to

Re: System testing across multiple crossplatform slaves/nodes?

2017-08-07 Thread Mark Waite
The platform labeler plugin will even assign labels automatically by platform. I use it to spread work across different Linux variants On Mon, Aug 7, 2017 at 9:32 AM Anthony Rabaa wrote: > Have you considered assigning labels to the nodes? > > > > node(“Windows”) { > >

Re: rsync failed: ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

2017-08-07 Thread Mark Waite
v-118 but it happened sporadically > (not in every build, while coping files from different machines similar to > icsl7024) > > I tried running rsync with setsid prefix - both in Jenkins and locally and > it works ok. What behavior was I suppose to expect? > > On Monday, August 7, 2017 at 1:2

Re: rsync failed: ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

2017-08-06 Thread Mark Waite
. Mark Waite On Sun, Aug 6, 2017, 1:39 PM Shiran <shiranho...@gmail.com> wrote: > Hi, > >- Yes- I'm trying to copy files from icsl7024 to cg-sv-h118. >- I am not, explicitly, providing credentials between cg-sv-h118 and >icsl7024. What is happening is that when t

Re: Apply https to jenkins

2017-08-04 Thread Mark Waite
Google search suggests: https://wiki.jenkins.io/display/JENKINS/Starting+and+Accessing+Jenkins https://serverfault.com/questions/278555/how-to-use-jenkins-with-ssl-https http://sam.gleske.net/blog/engineering/2016/05/04/jenkins-with-ssl.html Mark Waite On Fri, Aug 4, 2017 at 9:59 AM Prasu S

Re: Cannot upgrade git plugin beyond 3.3.0

2017-07-31 Thread Mark Waite
Yes, he downloaded the latest version of slave.jar from his Jenkins server. Refer to https://issues.jenkins-ci.org/browse/JENKINS-45352 for the details of his investigation. Mark Waite On Mon, Jul 31, 2017 at 2:39 PM Sreeram Krishna <sreeram...@gmail.com> wrote: > Thomas, did y

Re: Q: How to choose nodes for build based on parameter?

2017-07-31 Thread Mark Waite
Have you checked the node label parameter plugin? It seems like it matches what you need. If you need the matrix job to run on all agents which match a label, then you want the elastic axis plugin. Pipeline can handle that case as well. Mark Waite On Mon, Jul 31, 2017, 7:28 AM Vitaly Karasik

Re: The official docker image jenkins/jenkins:lts is missing ruby

2017-07-27 Thread Mark Waite
I would be very surprised if the Jenkins docker image were extended to include ruby. Ruby is not a mandatory requirement for Jenkins development and adding it to the base Jenkins Docker image will increase the size of the docker image for all Jenkins users. Mark Waite On Thu, Jul 27, 2017 at 3

Re: Everything lost after automatic upgrades

2017-07-22 Thread Mark Waite
, and diagnosis. Mark Waite On Sat, Jul 22, 2017 at 1:09 PM Giacomo Boccardo <gbocc...@gmail.com> wrote: > Unfortunately I didn't install it the first time, so I don't know how it > has been installed exactly. What I can see is that: > >- Docker is surely not used >- it'

Re: Everything lost after automatic upgrades

2017-07-22 Thread Mark Waite
forgetting to use a volume to retain the data? Mark Waite > Thanks in advance, > Giacomo > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from

Re: Jenkins running unit tests MSTest 10.0

2017-07-18 Thread Mark Waite
, that could cause different behavior in Jenkins than in the user environment. If your Jenkins agent is running on a different Windows version and your tests have Windows version requirements, that could cause failures. Mark Waite On Tue, Jul 18, 2017 at 5:05 AM Simon Whale <simonwhal...@gmail.

Re: Jenkins shell behaves differently than terminal

2017-07-18 Thread Mark Waite
. The ENOTTY message is often a result of programs that incorrectly expect to communicate with a TTY. There is also a hint on stackoverflow that a 32 bit program trying to communicate with a 64 bit kernel might cause a similar error message. Mark Waite On Tue, Jul 18, 2017 at 5:05 AM Rūdolfs Sviklis

Re: [hard] problem building github tags

2017-07-14 Thread Mark Waite
. That isn't as elegant as the webhook technique that you're trying to use, since it requires that you create something that detects the creation of a new tag, then when the new tag is detected, it calls that curl command. Mark Waite > Any help is highly appreciated. > -- You received t

Re: Credentialid with github is not working in pipeline script on jenkins slave

2017-07-12 Thread Mark Waite
ot;git clone" command using the URL with the username and password embedded in the URL - Username or password is incorrect - double check that you can clone with that URL using that user name and password from a git command line Mark Waite > Any help will be highly appreciated. &g

Re: Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread Mark Waite
r) works for Debian, Ubuntu, Red Hat, CentOS, OpenSUSE, and likely FreeBSD. The OpenBSD specific package seems quite far out of date, so there you'd need the war file rather than using the operating system specific installer. Mark Waite > > On Tue, 2017-07-11 at 16:44 +, Jason L

Re: Project restriction | Slave level configuration - instead project level

2017-07-04 Thread Mark Waite
The configuration slicing plugin may allow you to assign labels to many jobs at the same time. If you have jobs that are blocked due to insufficient number of agents, isn't one solution to get more agents? Mark Waite On Tue, Jul 4, 2017 at 7:43 AM LnT <tlnaray...@gmail.com> wrote:

Re: Jenkins - unexpected EOF while looking for matching `"' Build step 'Execute shell' marked build as failure

2017-07-04 Thread Mark Waite
should use the Windows command processor. Mark Waite On Tue, Jul 4, 2017 at 7:21 AM 江南 <pergeg...@gmail.com> wrote: > > > favorite > <https://sqa.stackexchange.com/questions/28272/jenkins-unexpected-eof-while-looking-for-matching-build-step-execute-shel#> > > I have s

Re: Jenkins stopped working

2017-07-04 Thread Mark Waite
I would guess that your OAuth provider has changed somehow and is now returning something which Jenkins does not expect. Mark Waite On Tue, Jul 4, 2017 at 6:16 AM Ruchir Brahmbhatt < ruchir.brahmbh...@gmail.com> wrote: > Today suddenly jenkins stopped working, throwing below error.

Re: Jenkins LTS Release Line: Frequency / Process of Upgrading Jenkins on LTS release schedule

2017-07-03 Thread Mark Waite
image to host the execution of your Jenkins server. That might allow you to switch between old and new by passing a different argument for the docker image to use as the base version. Mark Waite > > *From:* jenkinsci-users@googlegroups.com [mailto: > jenkinsci-users@googl

Re: Jenkins LTS Release Line: Frequency / Process of Upgrading Jenkins on LTS release schedule

2017-07-03 Thread Mark Waite
> > Also, if the Jenkins package is installed from ‘apt’, wont a sudo apt get > update / upgrade automatically upgrade my Jenkins instance? > > > Yes it will upgrade your Jenkins instance unless you pin that Jenkins version. Mark Waite > Thank you again for your advice! > &g

Re: Jenkins LTS Release Line: Frequency / Process of Upgrading Jenkins on LTS release schedule

2017-07-03 Thread Mark Waite
't really remove any of the other steps. If you're a Red Hat / CentOS type, then you'll use the rpm based distribution for the same benefit. Mark Waite On Mon, Jul 3, 2017 at 2:20 PM Jason LeMauk < jason.lem...@csquaredsystems.com> wrote: > I am currently working to setup a Jenkins server for

Re: finding git repo url

2017-07-01 Thread Mark Waite
Declarative pipeline is even easier than that. It performs the checkout scm implicitly. Try declarative pipeline. On Sat, Jul 1, 2017 at 7:39 AM Daniel Butler wrote: > In a multibranch project you simply do: > checkout scm > > And that clones/checks out the

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-29 Thread Mark Waite
-bugs) . When I configure the private repository job, it presents the list of repositories but only includes public repositories in the list. The credentials are valid and are used in other jobs, but it is as though the list of repositories is not being refreshed with the credentials. Mark Waite

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-29 Thread Mark Waite
y, I don't know what is different between those two cases of a GitHub branch source for a multi-branch pipeline. I'll let you know if I identify key attributes which make the two cases behave differently. Mark Waite On Monday, June 26, 2017 at 10:04:00 PM UTC-6, Michael Neale wrote: > > I

Re: Maven auto-installation doesn't work when shared between executions

2017-06-29 Thread Mark Waite
your agents? Mark Waite On Thu, Jun 29, 2017 at 8:08 AM Виталий Ищенко <bet...@gmail.com> wrote: > I have a windows slave node with 2 executors. And job that is bound to > windows slave that allows to perform parallel builds. Jenkins automatically > installs maven configured

Re: Git plugin issue in pipeline

2017-06-27 Thread Mark Waite
On Tuesday, June 27, 2017 at 5:01:46 PM UTC-6, Mark Waite wrote: > > I suspect you're encountering a conflict between the git plugin > maintaining compatibility with old behavior, and the desire to support > branch names which contain slashes. > > Refer to the online help

Re: Git plugin issue in pipeline

2017-06-27 Thread Mark Waite
https://issues.jenkins-ci.org/browse/JENKINS-14026 for more history on the issue. Mark Waite On Tuesday, June 27, 2017 at 3:53:07 PM UTC-6, Abhijith Reddy wrote: > > Whenever i specify a branch with GitSCM i see the following issue > Couldn't find any revision to build. Verify the reposit

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-26 Thread Mark Waite
The experimental update center includes a new version of the git plugin and the mercurial plugin. Per Kevin Burnett's comment, please don't release it this week. I need more testing time. Mark Waite On Mon, Jun 26, 2017 at 7:29 AM Michael Kobit <mko...@gmail.com> wrote: > I'm goin

Re: Jenkins 2.60.1 With Java 7 Slave Node

2017-06-24 Thread Mark Waite
pect the same is true of Red Hat Enterprise Linux. The Red Hat Linux wikipedia article <https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux#RHEL_5> shows that RHEL 5 is in extended support as of June 2017. What was it that made you think that "a secure Java 8 JRE is unavailable on C

Wiki not allowing edits?

2017-06-23 Thread Mark Waite
I'm preparing to release git plugin 3.3.1 with a few fixes compared to git plugin 3.3.0. I'm unable to edit the git plugin page on the wiki. It is almost as though I am "not quite logged into the system". Have others successfully edited Jenkins wiki pages recently? Mark Waite -- Yo

Re: How to resolve "Process leaked file descriptor" issue which caused job failure in Jenkins

2017-06-23 Thread Mark Waite
of a job, then there are additional steps you need to take. Refer to https://wiki.jenkins.io/display/JENKINS/Spawning+processes+from+build for techniques to keep a process running after the Jenkins job is complete. Mark Waite On Friday, June 23, 2017 at 12:57:19 AM UTC-6, parvatha reddy wrote

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-23 Thread Mark Waite
h dashes, or something, so that the user has a concept that things will be appearing under them. They seem to be standard text currently, and it wasn't obvious to me that they were categories into which settings would be placed. Mark Waite On Friday, June 23, 2017 at 9:58:52 AM UTC-6, Mar

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-23 Thread Mark Waite
investigate further on it until after the end of the working day today. Mark Waite On Friday, June 23, 2017 at 7:32:54 AM UTC-6, Stephen Connolly wrote: > > How do you find the new UI compared with the previous one? > > -- You received this message because you are subscribed to the G

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-22 Thread Mark Waite
e spent reworking those tests will be time that is not spent reviewing pull requests or testing new ideas. Is there a way that I can keep the convenience and power of buildPlugin() without burdening other plugin developers with the weight of a full clone? Mark Waite -- You received this

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-22 Thread Mark Waite
-scms plugin, I removed it from my Docker image and resolved the problem. Mark Waite On Thursday, June 22, 2017 at 10:10:45 AM UTC-6, Mark Waite wrote: > > False alarm, or rather, accurate alarm that has nothing to do with the > alpha releases of the plugins. > > I see an NPE in

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-22 Thread Mark Waite
False alarm, or rather, accurate alarm that has nothing to do with the alpha releases of the plugins. I see an NPE in the console log with the released versions of all plugins, using Jenkins 2.46.3. It is an issue, but not an issue with the alpha releases of the plugins. Mark Waite

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-22 Thread Mark Waite
pt the git plugin and the git client plugin, which always seem to be in some pre-release state in that docker instance). Suggestions of where I should search? Mark Waite On Thursday, June 22, 2017 at 9:04:53 AM UTC-6, Mark Waite wrote: > > My docker image that I've upgraded is showing a

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-22 Thread Mark Waite
My docker image that I've upgraded is showing an unexpected behavior in a GitHub (not git) On Friday, June 16, 2017 at 12:19:24 PM UTC-6, Stephen Connolly wrote: > > Just a quick status update. > > In final stages of this work now. Bobby is being a superstar and reviewing > my 13k LoC change

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-22 Thread Mark Waite
will be exercised by others. I hadn't added that plugin to my standard set of installed plugins. I'll add it now. Mark Waite > On 22 June 2017 at 14:17, Stephen Connolly < > stephen.alan.conno...@gmail.com> wrote: > >> It's now known as the BitBucket Branch Source plu

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-22 Thread Mark Waite
I used the experimental update center to update to the latest beta plugin versions. I didn't have access from my Jenkins to the CloudBees BitBucket Source Branch plugin, so I'm ignoring it. Mark Waite On Thu, Jun 22, 2017 at 4:56 AM Stephen Connolly < stephen.alan.conno...@gmail.com>

Re: Workspace cleanup failing after updating Jenkins 2.65

2017-06-21 Thread Mark Waite
) that introduced the change. Once you've isolated it, then report a bug on that component. Mark Waite On Wed, Jun 21, 2017 at 11:57 AM t3knoid <t3kn...@gmail.com> wrote: > I recently updated to Jenkins 2.65 and some of my plugins. Now every time > I try to build a job that has been worki

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-21 Thread Mark Waite
I haven't tried it yet. I'm configuring the "before" state today and will capture its state, then will deploy the new code tomorrow morning and capture the after state. I won't do anything to compare those until tomorrow evening or this weekend. Mark Waite On Wed, Jun 21, 2017 a

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Mark Waite
ou aren't seeing deleted branches still show up without > being cleaned up? > > > On Wednesday, June 21, 2017 at 12:23:59 PM UTC+10, Mark Waite wrote: > >> Yes, that's how mine is configured. >> >> On Tue, Jun 20, 2017 at 8:21 PM Michael Neale <mne...@

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Mark Waite
GAs/s1600/Screen%2BShot%2B2017-06-21%2Bat%2B12.20.13%2Bpm.png> > > > > > > > On Wednesday, June 21, 2017 at 12:13:19 PM UTC+10, Mark Waite wrote: > >> There is a configuration setting, "Orphaned Item Strategy", in the >> multi-branch pipeline job d

Re: repo auth problems in Jenkins v2.46 copied from working v2.19 instance

2017-06-20 Thread Mark Waite
and switch it to your preferred git implementation if needed. I'm not aware of a bug which will cause any of the current git components to ignore the selected git implementation and use a different implementation. If you can find a way to duplicate that condition, please submit a bug. Mark Waite

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Mark Waite
of 0 days. Is theirs enabled? Does it have the retention period they want? Mark Waite On Tue, Jun 20, 2017 at 7:59 PM Michael Neale <mne...@cloudbees.com> wrote: > Using multibranch and git/github, I am seeing projects that are created > for a branch be apparently marked for delet

<    3   4   5   6   7   8   9   10   11   12   >