I can confirm deleting old builds PER branch is working for declarative
syntax by using the option:
options {
buildDiscarder(logRotator(numToKeepStr:'10'))
}
But this doesn't really solve my problem. I want to keep max N builds
across ALL branches in a multibranch pipeline to maintain a more
pre
On Tuesday, November 28, 2017 at 4:50:48 PM UTC-7, Kevin Brotcke wrote:
>
> I also couldn't get the buildDiscarder working, nothing seems to be
> happening. In our case we create a lot of long lasting branches which
> filled up our Jenins server disk space pretty quickly. I wrote a quick
> Gro
I also couldn't get the buildDiscarder working, nothing seems to be
happening. In our case we create a lot of long lasting branches which
filled up our Jenins server disk space pretty quickly. I wrote a quick
Groovy script to delete old builds across all branches but I'd prefer a
more integrate
Pipeline environment variables are not stored at the OS level. That's why
you are not able to get them using *System.getenv() *(which only list OS
level environment variables).
But you should be able to retrieve them like any other classical
environment variables : with the "${MyVar}" syntax inside
I have the following workspace structure:
- ${WORKSPACE}/git-checkout
> - ${WORKSPACE}/artifacts
The codes are build with (from WORKSPACE)
make -C git-checkout ARTIFACTS_DIR=${WORKSPACE}/artifacts
which would write output files to ${WORKSPACE}/artifacts, including pylint
output, which contai
Just wondering whether using the previous
thread:
https://groups.google.com/forum/#!topic/jenkinsci-users/XbI9WjlLmFY/discussion
might help to keep a history of the previous suggestions though
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
Thank you so much for your reply.
Could you please elaborate more on how did you add cert to "All Unassigned"
IP-addresses?
On Tuesday, November 28, 2017 at 8:02:49 AM UTC-6, Andreas Lunderhage wrote:
>
> I had the exact same problem.
>
> My problem was that there was no default certificate set
My pipeline is using the environment directive to set an environment var
and then calls a groovy class:
def call(int blah) {
pipeline {
agent any
environment {
MyVar = credentials('djsjflsjfljsf')
}
stages {
stage('Stage ONE') {
Hello,
Could you post a minimal Jenkinsfile that reproduces the issue, and also
clarify which screen you're initiating the run from? It could possibly be a
bug that needs fixing. It would greatly accelerate our reproducing the
issue if you can provide what I requested above.
Thanks,
Cliff
On Tue
I have a Jenkinsfile, which includes this:
parameters {
string(name: 'Stack', defaultValue: 'DEV', description: 'For which
environment is this?')
string(name: 'Version', defaultValue: '3.2.0-beta.0', description: 'What is
the release version?')
}
And works great, running it in the "regu
Go to Jenkins server, select the node you have defined for this Windows
instance. It will give you the command you need to run, on the command
line.
Test that that works on the command line, then figure our how to get
procron to do that for you.
The command will look something like this (
I used procrun to generate the service
This is my configuration file:
set SERVICE_NAME=jenkinsTest99
set PR_INSTALL=g:\jenkins\test\prunsrv.exe
REM Service log configuration
set PR_LOGPREFIX=%SERVICE_NAME%
set PR_LOGPATH=c:\logs
set PR_STDOUTPUT=c:\logs\stdout.txt
set PR_STDERROR=c:\logs\stderr.
I used procrun to generate the service
This is my configuration file:
set SERVICE_NAME=jenkinsTest99
set PR_INSTALL=g:\jenkins\test\prunsrv.exe
REM Service log configuration
set PR_LOGPREFIX=%SERVICE_NAME%
set PR_LOGPATH=c:\logs
set PR_STDOUTPUT=c:\logs\stdout.txt
set PR_STDERROR=c:\logs\stderr.
Not clear what command you used.
--
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 it, send an email
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the we
Hi, I modified a Jenkins plugin in which there was a drop-down and I wanted
a textbox. Once modified, my idea was to upload this version of plugin and
at the same time keep the previous one unchanged, so as not to disrupt the
execution of other jobs that use it. I have changed the idartifactory,
Hi All,
Please help, our jenkins instance is now integrated to active directory and
my ldap account is admin.
We have forgot local admin password and soon we need to change active
directory account password.
How to change local account "admin" password via our ldap account, I can
not find whe
What do you already have setup and working? Jenkins server, and a node?
Jenkinsfile in place? ...
--
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 it, send an email
to jenkinsci-
I'm trying to start Jenkins slave as a windows service, but I get the
following error.
which second argument is required here?
2017-11-28 16:02:01 Commons Daemon procrun stderr initialized
two arguments required, but got
[url=http://111.11.11.111/jenkins/computer/222.22.22.2/slave-agent.jnlp]
ja
Hello,
I'm looking for a way to access the data provided by the flowGraphTable
(aka "Pipeline Steps") for a job via a rest API. My ultimate goal is a is
a timeline visualization of the build flow illustrating the duration of
each step as well as which executor they ran on - essentially a more
I had the exact same problem.
My problem was that there was no default certificate set on the TFS host in
case no SNI name was sent in the TLS handshake. Adding the same cert to
"All Unassigned" IP-addresses for port 443 as for the hostname of the cert
for the port binding solved the problem.
I am using Jenkins Multibranch pipeline.
I've configured the APIs (github-webhook and ghprbhook) on GitHub.
Currently, If I click on "Scan Repository Now/Scan Repository Log" in
Jenkins, the Jenkins will go through the GitHub and creates a new PR job in
Jenkins if there are any PR on GitHub.
So I
This is to make it clear where (potentially) persistent data should live,
the rest of the container being fully transient.
Le 28 nov. 2017 1:41 PM, a écrit :
> Hi,
> I would like to know the utility of the "volume" command in
> jenkinsci/ssh-slave docker file :
> https://hub.docker.com/r/jenkins
Hi,
I would like to know the utility of the "volume" command in
jenkinsci/ssh-slave docker file :
https://hub.docker.com/r/jenkinsci/ssh-slave/~/dockerfile/
Is it for performance reasons like explained in :
https://docs.docker.com/engine/admin/volumes/
or is it necessary for some other reasons ?
Released a fix for PR events not
working:
https://marketplace.atlassian.com/plugins/nl.topicus.bitbucket.bitbucket-webhooks/versions#b100600100
Next time please post the issue on
GitHub, https://github.com/Eernie/bitbucket-webhooks-plugin/issues
I rarely read the Jenkins users threads, sorry.
Released a fix for PR events not
working:
https://marketplace.atlassian.com/plugins/nl.topicus.bitbucket.bitbucket-webhooks/versions#b100600100
Den tirsdag den 21. november 2017 kl. 21.50.31 UTC+1 skrev
i.k...@betterfly-tourism.com:
>
> Hello,
>
> I am having trouble setting up trigger of buil
25 matches
Mail list logo