Re: Graceful exit?

2019-03-06 Thread Simon Richter
Hi, On 06.03.19 20:29, JR Cary wrote: > Is there a way to accomplish this (graceful stop, send some sort of > signal) within Jenkins? Jenkins has a "shutdown" state where it doesn't start any more builds, which allows shutting down the server as soon as all jobs have finished. It is also possib

Re: Build Triggers - Build periodically plugins

2019-03-08 Thread Simon Richter
Hi, On 07.03.19 22:39, Andrew Poage wrote: > Anyone know of any plugins that can replace the cron job scheduler with > simpler more robust scheduler. Essential looking to run jobs every 2nd > and every 4th Saturday of the month. Since that tends to fluctuate a lot > using the cron scheduler gets

Re: Cloud Master / On-Prem Slave

2019-04-18 Thread Simon Richter
Hi, On 18.04.19 14:38, Steve B wrote: > I am fairly new to Jenkins.  We have used it on-prem for some builds. > Development has started using Jenkins in the cloud for new features and > I was wondering if I can have the Jenkins Master that is in the Cloud > send jobs to my On-Prem slaves? In the

Re: Securing build scripts when building pull requests

2019-05-17 Thread Simon Richter
Hi, On Thu, May 16, 2019 at 12:11:54PM -0700, Christopher Weaver wrote: > For a project I work on, we have set up Jenkins, using the GitHub Branch > Source Plugin, to do automatic builds for pushes to our repository, > including test builds for pull requests. This is all working, but I am > co

vcpkg integration on Windows

2019-07-10 Thread Simon Richter
Hi, I'd like to build software on Windows using vcpkg, which keeps a per-node repository of software up to date. Given: - job A requires foo:x86 and bar:x86 in the repo - job B requires bar:x86 and bar:amd64 in the repo - job C requires foo:amd64 and bar:amd64 in the repo Requirements: - n

Re: how to configure same wildcard ssl certificate for 2 applications in same server

2019-08-21 Thread Simon Richter
Hi, > can we install jenkins and codebeamer in one server and configure both > application with a domain wildcard ssl certificate ? > We have already configured codebeamer with ssl. Can we install and > congfigure ssl for Jenkins in same server? There are lots of different possible setups. Pres

Re: Under Jenkins SignTool Error "No certificates were found", works fine logged on as user

2019-09-06 Thread Simon Richter
Hi, > > Because the code signing tool requires interaction with the desktop, it > > requires that you must be logged in (or at least that is my theory). There > > are techniques to configure processes to run without being logged in, but > > they all tend to leave the process with no access to

Re: Secure Jenkins URL

2019-10-18 Thread Simon Richter
Hi, On 16.10.19 17:03, Veera Mani wrote: > How to setup the jenkins URL  to https? > I am looking to use the jenkins  tool in internal network , but still  > would like to have it  secure ? It can be done, but it is a major hassle to set up: - the certificate needs to be generated and signed e

Re: several issues

2019-11-26 Thread Simon Richter
Hi, On Mon, Nov 25, 2019 at 06:30:36PM -0800, Peter wrote: > Issue3: Never succeeded in installing a jenkins Agent as a Windows service. The way I did it: - start agent in JNLP mode once, wait for it to download and initialize - shut down agent - open a cmd.exe with Administrator privileges

Re: Jenkins with Parallel Builds?

2020-01-15 Thread Simon Richter
Hi, On Wed, Jan 15, 2020 at 02:38:26PM +, David Aldrich wrote: > We build large C++ projects using Jenkins for Linux platforms. These build > jobs currently run on a single executor. I want 'make -j' or ninja to > compile concurrently on several cores to speed up the build time. How can >

Re: Windows JNLP agent doesn't see PATH

2020-01-20 Thread Simon Richter
Hi, On Mon, Jan 20, 2020 at 04:55:40AM -0800, Vitaly Karasik wrote: > I see really weird behaviour on my Windows (Windows Server 2019) Jenkins > agent (launched by JNLP). I can't claim to have understood Windows agents' environment handling yet, but it seems that the entire environment is froze

JNLP agent and proxy

2020-01-23 Thread Simon Richter
Hi, I'd expect this to be somewhat obvious, but it doesn't seem to be: I have a JNLP agent on a Windows VM that should talk to the Jenkins master on another VM in the same network. The Jenkins master has a standard nginx proxy before it to allow external requests to come in. The agent now connect

Re: JNLP agent and proxy

2020-01-23 Thread Simon Richter
Hi, On Thu, Jan 23, 2020 at 11:23:22AM -0700, Jeff Thompson wrote: > If you click that, one option that becomes visible is "Tunnel > connection through". This *might* work for you. Read the inline help > and try it to see if it meets your needs. Perfect, that seems exactly like what I need. I'll

Best Practices for Dockerfile in repository

2020-02-05 Thread Simon Richter
Hi, Looking at https://jenkins.io/doc/book/pipeline/docker/#dockerfile , I've set up a repository for our project with a Dockerfile to describe the build environment, and a simple Jenkinsfile describing the build: pipeline { agent { dockerfile true } stages

Re: Jenkins docker not found

2020-02-05 Thread Simon Richter
Hi, On Wed, Feb 05, 2020 at 07:44:57AM -0800, adrian lee wrote: > however, it keeps throwing me an error > > ``` > + docker ps > /var/lib/jenkins/workspace/openFaaS_getdata@tmp/durable-270f2b11/script.sh: > line 1: docker: command not found > > ``` > I tried referencing other posts on stack o

Splitting/Merging/Clustering JUnit test results?

2020-02-14 Thread Simon Richter
Hi, I have a matrix job that in each leaf runs the test suite twice, once normally and once with memory checking enabled, each of which generates an XML file that can be parsed with the JUnit parser. Now I'd like to present the results in the overview in a useful way: 1. separate normal/memcheck

Defining pipeline steps that require cleanup

2020-02-21 Thread Simon Richter
Hi, I'm thinking about optimizing artifact transfer between builds by using WIM files instead of single file transfers. Building would work by mounting an empty writeable WIM file over an output directory, having the build process install into this directory, then unmount and optimize the WIM fil

Parallel pipeline and Stage View

2020-02-22 Thread Simon Richter
Hi, I have a rather simple meta-pipeline: pipeline { parameters { string(name: 'PATCH_URL', defaultValue: '', description: 'URL of a patch file to download and apply') } agent none stages { stage('Build Configurations') {

Re: Parallel pipeline and Stage View

2020-02-29 Thread Simon Richter
Hi, Am 23.02.2020 um 04:40 schrieb Jan Monterrubio: > The blue ocean plugin might be able to give you the view that you want. > In my experience, the vanilla pipelines just append Columns to a table. That would be fine and close to what I want, but the really annoying thing is that rows get hid

Re: Manage lib dependencies as compilation or link time dependencies?

2015-11-17 Thread Simon Richter
Hi, > Newbie here looking to use jenkins to manage our build process. I'm > attempting to follow jenkins best practices. One specific thing I'm > wondering is how to set up my build dependencies or pipeline. We have a > layered architecture which consists of many libraries (around 20) and a

Re: Manage lib dependencies as compilation or link time dependencies?

2015-11-17 Thread Simon Richter
Hi, Am 17.11.2015 um 15:14 schrieb John Mellor: >> Typically I don't declare any job dependencies there. Each project can be >> built and tested on its own, and the projects using the libraries would use >> the results from the last successful build, so you still get the maximum >> coverage if

Re: Start a job on slave / node that just connected to master server

2016-03-11 Thread Simon Richter
Hi, On 11.03.2016 12:38, Jakub Gladykowski wrote: > However all I want > to do, is to trigger this job, only on the slave / node that just connected. This seems like a good time to ask what you *actually* want to do[1]. Simon [1] http://xyproblem.info/ -- You received this message because

Re: Run Jenkins as a service and NOT headless

2016-05-27 Thread Simon Richter
Hi, On 27.05.2016 17:50, developer.go...@gmail.com wrote: > How do i run Jenkins as a service but not headless. If i am doing > browser testing, i want to see it open Firefox, Chrome, etc. Thank you! This is more a Windows sysadmin question: Windows services have an option in their configuratio

Tracking warnings and build times across incremental builds

2016-06-11 Thread Simon Richter
Hi, we have a C/C++ codebase (using CMake to generate either Makefiles or Visual Studio projects) that is a bit too large to try to build from scratch every time, so I'd like to switch to incremental builds. Unfortunately, this means that any warnings from files that are not rebuilt will be marked

Tracking warnings and build times across incremental builds

2016-06-14 Thread Simon Richter
Hi, we have a C/C++ codebase (using CMake to generate either Makefiles or Visual Studio projects) that is a bit too large to try to build from scratch every time, so I'd like to switch to incremental builds. Unfortunately, this means that any warnings from files that are not rebuilt will be marked

Re: How to run git fetch in Jenkins server

2016-06-29 Thread Simon Richter
Hi, On 29.06.2016 11:14, phu...@temona.co.jp wrote: > I am newbiee in Jenkins. I access to the Jenkins server but i can't run > any git command. > Have error > " ERROR: Repository not found. > fatal: The remote end hung up unexpectedly " > when i run > "git fetch origin" > this is my git config

Alternate workspace with concurrent builds disabled, why?

2017-12-19 Thread Simon Richter
Hi, I have a matrix project, with the toplevel project tied to master and the individual builds selecting agents by label, plus other axes: - cpu = (arm64, amd64, x86) - build = (debug, release) - compiler = (msvc) where "msvc" is an agent label. The project does no allow concurrent executio

Re: Kills me that BUILD_ID=dontKillMe

2018-01-17 Thread Simon Richter
Hi, Am 17.01.2018 um 17:25 schrieb Ioannis Moutsatsos: > The BUILD_ID (which up to this point was equal to BUILD_NUMBER) is now > set to 'dontKillMe' I dimly remember that this is a way to tell the cleanup code that kills all processes after the build has finished to ignore certain processes. O

Re: best way to get execution time for test cases

2018-03-01 Thread Simon Richter
Hi, > i'm looking for a way to get execution times for test cases (PhantomJs > tests to be precise, if that matters). I've adapted my test framework to generate a JUnit compatible output file, and then used the JUnit plugin to parse it. Try with an empty project and an example report.xml to see

Serving LetsEncrypt challenge from Jenkins

2018-03-16 Thread Simon Richter
Hi, I'm trying to set up a Jenkins instance that uses LetsEncrypt to get an SSL certificate. This instance should run inside a VM with no external dependencies. So, I'd like to start up Jenkins with a self-signed certificate initially, then an external script comes along and puts a static file in

Re: Windows Desktop OS or Server OS is good for Jenkins master

2018-04-18 Thread Simon Richter
Hi, On 16.04.2018 12:03, LnT wrote: > Actually we will be providing Windows VMs. Not Linux. > Hence looking for a piece of advice.  - *Desktop OS or ServerOS ?* Desktop forces a reboot to install updates, which is not coordinated with running services. Jenkins really doesn't handle shutdowns wel

Chroot: base image as matrix axis

2018-09-13 Thread Simon Richter
Hi, I'd like to build a project against different Linux distributions. Using the chroot plugin, I can easily set up a chroot for each, but I need to specify the name of the base image in the project config. Can I somehow select the chroot base image by a label, so a matrix build with "debian-str

Re: Update all plugins automatically

2018-10-18 Thread Simon Richter
Hi, > We are using open source Jenkins and have a bunch of plugins installed.  > Is there a way to update all the plugins that are in the "Updates" > section in the Plugin Manager? Yes, if you select the checkboxes, you can update multiple plugins at once. The "All" link at the bottom selects all

Re: Jenkins Batch to Bash

2018-11-23 Thread Simon Richter
Hi, On 23.11.18 15:14, Cornelius Ele wrote: > Do these batch files need to be converted for the new Jenkins instance > to perform all its jobs? If so, how can the conversion be done?  The only things that need to be converted are "batch" build steps in existing jobs if the job is no longer going

Historic graph for CSV data

2019-01-31 Thread Simon Richter
Hi, we have a repository with translations and a script that verifies that the translated strings are still up to date with the source code. The script generates a CSV file like LANG;TRANSLATED;FUZZY;UNTRANSLATED bg;1272;2991;1323 ca;2752;1848;986 cs;2762;2198;626 Now I'd like to

Re: Sporadic MSBuild errors / possible durable task issue?

2019-01-31 Thread Simon Richter
Hi, On 31.01.19 17:31, Steven Foster wrote: > There is no such extra information file. This looks a bit like an > interrupt to me, is there a way I can reproduce how Jenkins sends > interrupts so I can verify that? There are a few things going on: - MSBuild sticks around after a build if the s

Re: Multi-configuration has n+1 checkouts

2017-03-13 Thread Simon Richter
Hi, On 13.03.2017 08:41, Daniel Becroft wrote: > 1. There is a checkout performed on the headline job; then > 2. A checkout is performed for each individual job > Is there a way to remove the headline checkout as well, or a way to stop > it being checked out to start with? That is normal. The

Re: Multi-configuration has n+1 checkouts

2017-03-14 Thread Simon Richter
Hi, On 14.03.2017 12:20, Daniel Becroft wrote: > Thanks. I guess I expected the headline job to work like a normal job, > where changes are detected based on changes between the revision of the > previous build. The headline job is the normal job. It determines whether a build is required, does

Multiple plots, defined by CSV files

2017-06-18 Thread Simon Richter
Hi, I'd like to set up a translation status page for a project, with statistics and graphs for translated, "fuzzy" and untranslated strings. The build generates CSV files of the format lang;translated;fuzzy;untranslated ca;10;20;30 de;60;; en;50;;10 etc. The list of languages is not fixed, as

Re: Distributed Builds: Software required to build only installed on build node?

2017-07-10 Thread Simon Richter
Hi, On 10.07.2017 21:27, Jason LeMauk wrote: > Am I correct in assuming that when the project is built, the ioncube > encoder will not need to be installed on the Jenkins Master machine but > will need to be installed on the Jenkins Agent / Slave machine? The master also has two executors, so jo

How to build several tagged versions

2017-08-11 Thread Simon Richter
Hi, I'd like to test our program against different versions of dependent libraries, so I want to set up something like a matrix build (version, cpu, debug/release). Can I use a matrix parameter in selecting the version to build? Can I somehow communicate the list of tags from one common place, a

Re: Release Button or best practice

2017-08-15 Thread Simon Richter
Hi, On 15.08.2017 18:25, Steven Foster wrote: > Does anyone know of any techniques or plugins for triggering a release > after a build? You are looking for the "Promoted Builds" plugin. Simon -- You received this message because you are subscribed to the Google Groups "Jenkins Users" grou

Re: Scheduling a slave node reboot

2017-09-24 Thread Simon Richter
Hi, On 23.09.2017 01:40, Chris Packham wrote: > One workaround we're looking at is to periodically reboot the node. Is > there a safe way to reboot a node i.e. prevent new jobs being assigned, > reboot and rejoin the master. Evil hack: use the heavyweight job plugin to make sure all executors ar

Re: Failing builds

2017-09-26 Thread Simon Richter
On 25.09.2017 23:35, Alex B wrote: > Did you find a solution for this? Some of my builds have this while > others don't. I suspect this to be a timing issue but I haven't found a > solution. There are a few common causes for this: - Windows Update rebooting the machine - NAT gateway resetting

Enabling Windows long path support in Git plugin

2016-07-25 Thread Simon Richter
Hi, I'm trying to check out Boost, which has a file with a fairly long file name, so the checkout fails on Windows. This could be fixed apparently by setting the git setting core.longpaths to true. How can I add that setting to newly created workspaces? Simon -- You received this message be

Re: Enabling Windows long path support in Git plugin

2016-07-25 Thread Simon Richter
Hi, On 25.07.2016 19:45, Mark Waite wrote: > $ git config --system core.longpaths true That is in essence what I did, the problem is that I'd have to do that on all of the build slaves, while ideally I'd like to have that as part of the project configuration so I don't end up having unexplained

Re: Copy Artifacts: Difference between "Latest successful build" with and without "Stable build only" checked?

2022-01-04 Thread Simon Richter
Hi, On 1/4/22 10:55 AM, 'Dirk Heinrichs' via Jenkins Users wrote: as the subject says, what's the exact difference? The documentation doesn't tell. A "successful" build has a result of either STABLE or UNSTABLE, while a "stable" build needs a result of STABLE. Typically a test step would n

Efficiently copying artifacts

2015-04-24 Thread Simon Richter
Hi, I have a project that outputs a few large files (compiled DLL and static library) as well as a few hundred header files as artifacts for use by the next project in the dependency chain. Copying these in and out of workspaces takes quite a long time, and the network link is not even near capaci

PATH stuck on Windows slaves

2015-04-24 Thread Simon Richter
Hi, I have a Windows slave attached to a master instance running on a Linux system, and find that the PATH environment variable (or really, all variables) get stuck at the value they are first seen at. When I create a new environment variable in Windows and restart the Jenkins service, the variab

Re: Jenkins 1.607 - Environment Variables Stuck

2015-04-27 Thread Simon Richter
Hi, On 27.04.2015 14:57, Jennifer Hofmeister wrote: > Does the slave run as a service? If not, it will probably just read the > Jenkins service’s old PATH in case that one was not restarted after > manipulation. I have the same issue, I can even reboot the slave and the environment stays the s

Re: Run tests on another machine

2015-04-28 Thread Simon Richter
Hi, Am 28.04.2015 um 15:54 schrieb Fred G: > In order to run screen tests, Jenkins or a Jenkins slave needs access to > the GUI. The easiest way (that I know of) is to start the Jenkins slave as > a JNLP agent. It is also possible to install it as a service, however you have to go into the ser

Re: Run tests on another machine

2015-04-28 Thread Simon Richter
Hi, Am 28.04.2015 um 16:30 schrieb Mark Waite: > Usually that would mean that the PATH on your Windows machine does not > include the maven bin directory. There is a bit of a problem right now with the master overwriting the environment of slaves with an old snapshot of the environment variables

Re: Jenkins 1.607 - Environment Variables Stuck

2015-04-28 Thread Simon Richter
Hi Jennifer, > Just to sum it up… whatever process runs as a service will only load new env values when restarted. That is expected behaviour, yes. > The JNLP and JNLP command line options are spawned from the Jenkins master service, so you’ll want to restart that one after changing your envs so

Re: Slightly OT: How to build COM dlls in parallel

2015-05-18 Thread Simon Richter
Hi Andreas, On 18.05.2015 15:16, Andreas Tscharner wrote: > We use feature branches to develop new features on out product. Each > feature branch has a build job on Jenkins. Our product builds quite a > few COM DLLs which need other registered(?) TLB od DLLs. If the > interfaces differ and more t

Re: [workflow-plugin] Error "script.sh: command not found" when running shell script

2015-05-27 Thread Simon Richter
Hi, On 27.05.2015 17:03, Boris Chavez-Bravo wrote: > I am facing the exact same issue. Has anyone come across a solution for > this problem? This smells like one of those cases where you should have been calling "./script.sh", as the current directory is not on the search path for very good re

Breakdown of time spent on job, net time as summary

2015-06-17 Thread Simon Richter
Hi, I have several matrix jobs running either because of a timer or a commit, and some of these take ages. In total, I still get by with a single executor, however individual matrix configurations get stuck in the queue for extended times, which still counts as execution time for the top level job

Re: immediately fail whole matrix job if one configuration fails

2015-07-10 Thread Simon Richter
Hi, On 10.07.2015 09:39, Simon Haegler wrote: > is there a way to immediately fail a matrix job as soon as one of its > configuration fails? The usual way is to define one or more "touchstone configurations" that are built first, and starting the remaining jobs only if these succeeded. Simon

Re: immediately fail whole matrix job if one configuration fails

2015-07-15 Thread Simon Richter
Hi, On 15.07.2015 09:14, Simon Haegler wrote: > thanks for your answer. my first attempt to configure touchstone > configurations failed, i.e. it correctly prints "touchstone configs > resulted in failure..." at the end but it still ran all configurations?! Then the specificiation is probably br

Re: GIT Time out

2015-09-07 Thread Simon Richter
Hi, On 07.09.2015 12:33, thili...@wso2.com wrote: > > git -c core.askpass=true fetch --tags --progress > https://github.com/wso2/carbon-identity +refs/heads/*:refs/remotes/origin/* I have a similar issue, but with a later version of the git plugin that supposedly already includes a fix: 13:33