by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 22:50
    batmat review_requested #3874
  • Jan 31 2019 21:29
    basil opened #3875
  • Jan 31 2019 18:18
    nisarg1499 opened #3874
  • Jan 31 2019 18:12
    nisarg1499 edited #3873
  • Jan 31 2019 18:04
    nisarg1499 edited #3873
  • Jan 31 2019 18:03
    nisarg1499 opened #3873
  • Jan 31 2019 15:53
    batmat synchronize #3865
  • Jan 31 2019 15:24
    jglick commented #3861
  • Jan 31 2019 15:18
    nisarg1499 closed #3863
  • Jan 31 2019 15:18
    nisarg1499 commented #3863
  • Jan 31 2019 15:13
    oleg-nenashev commented #3863
  • Jan 31 2019 15:11
    nisarg1499 reopened #3863
  • Jan 31 2019 15:11
    nisarg1499 closed #3863
  • Jan 31 2019 15:01
    nisarg1499 synchronize #3863
  • Jan 31 2019 14:54
    batmat synchronize #3865
  • Jan 31 2019 14:45
    batmat synchronize #3865
  • Jan 31 2019 14:16
    Wadeck closed #3805
  • Jan 31 2019 14:12
    pjanouse commented #3802
  • Jan 31 2019 14:12
    pjanouse commented #3802
  • Jan 31 2019 14:05
    pjanouse synchronize #3802
NomNomSu
@NomNomSu
Hi, how to force Jenkins to automatically disconnect node after connection is lost? Lets say there is virtual machine with slave running and it is automatically reconnecting to jenkins. When snapshot is restored on this machine the connection with jenkins is lost briefly, sadly jenkins instead of disconnection the node and showing it as offline still thinks it is online and because of that the slave cannot connect because handshake is not successful. This fixes itself after some time but for me it takes too long. I can fix it manually bo going to node site and pressing disconnect but I want it to be done automatically. Any ideas?
Renato Marcandier
@rmarcandier
Hello guys, what's the best way to get Jenkins pipeline workflow to allow config files & “base playbooks” & template to be version controlled and version locked using GIT ?
suryaprakash99
@suryaprakash639_twitter
hello
Leonidas
@argeas
Hi All , I am looking for a way to have a jenkinsfile shared amongst jobs. e.g. : have the jenkinsfile in a single place , and have say 10 pipeline jobs that use that jenkinsfile. ( I am trying to avoid fetching the jenkinsfile from github for every pipeline test job )
suryaprakash99
@suryaprakash639_twitter
how can i run enkins in tomcat
can you explain
Leonidas
@argeas
what do you mean run it in tomcat? @suryaprakash639_twitter
John83
@nelu083_twitter
I guess he means running Jenkins under tomcat. @suryaprakash639_twitter you need to install tomcat and then copy the jenkins.war file to the tomcat's webapps folder.
steven-foster
@steven-foster
anyone know if you can have a timeout for when a block/stage is in the queue and another timeout for while a block/stage is running on a node? in declarative pipeline
Rick Herrick
@rherrick
Hi, is anyone else running into the “calling thread has no associated channel” bug? https://issues.jenkins-ci.org/browse/JENKINS-57244
This is causing us a huge amount of grief on our Jenkins server.
This is assigned to @jglick, do you have any idea when a resolution might be released or should we look at rolling back our Jenkins version?
Sverre Moe
@DJViking
I now have made implementation for automake and cmake to jx-release-version. Waiting for my existing PR#31 to be merged before I submit new for these two.
Jesse Glick
@jglick
@rherrick the core amelioration was released weeks ago, just upgrade.
Alex Earl
@slide
cool word, I hadn't heard that one before
Vincent Massol
@vmassol

Hi everyone. I need some pair of eyes to debug a problem :) Anyone sees what's wrong with:

node() {
    echo "test"
    def reader = currentBuild.rawBuild.getLogReader()
    reader.eachLine() { line ->
        echo "Line: ${line}"
        if (line.matches(".*test.*")) {
            echo "got it!"
        }
    }
}

It's printing only the 1st log line. More details on https://issues.jenkins-ci.org/browse/JENKINS-54128?focusedCommentId=367383&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-367383

Thx!

some flush issue?
(if so, is there a way to flush the log writing so that getLogReader gets all the log content?)
Vincent Massol
@vmassol
note that using def reader = currentBuild.rawBuild.getLogText().readAll() yield the same result
Vincent Massol
@vmassol
ok seems to be related to groovy since calling currentBuild.rawBuild.getLogReader().getText() works
Vincent Massol
@vmassol
Actually the eachLine issue could be this one: https://issues.jenkins-ci.org/browse/JENKINS-46988
Vincent Massol
@vmassol

getting weird, the following fails:

node() {
    echo "test"
    def reader = currentBuild.rawBuild.getLogReader()
    def br = new BufferedReader(reader)
    def line = null
    def buffer = new ArrayList()
    while (line = br.readLine()) {
        buffer.add(line)
    }
    echo "RESULT: ${buffer}"
}

but the following works:

node() {
    echo "test"
    def reader = currentBuild.rawBuild.getLogReader()
    def br = new BufferedReader(reader)
    def line = null
    def buffer = new ArrayList()
//    while (line = br.readLine()) {
//        buffer.add(line)
//    }
    buffer.add(br.readLine())
    buffer.add(br.readLine())
    buffer.add(br.readLine())
    echo "RESULT: ${buffer}"
}
christopher hahn
@chahn1138_gitlab

stderr: Warning: Identity file /var/lib/jenkins/workspace/centos-build-@tmp/ssh1961946035497411897.key not accessible: No such file or directory.

Note that name...."centos-build-"....there should be more there...

--> Where can I find a good doc on how build phases are handled?

(i.e. "pre-submit" vs "master" vs whatever needs to be at the end of that name)

Derrick
@plainenough
Might not be the correct room, where should I report any ssl issues with updates.jenkins.io?
Alex Earl
@slide
INFRA project in JIRA
Derrick
@plainenough
Thanks.
mayank srivastava
@mighty_1989_twitter
small help here
echo "${env.JOB_NAME}" i am able to get build name
but when i pass this as
sh 'python -u build_platform.py ${env.JOB_NAME} ' or with "{}" i am not able to get the proper value
Alex Earl
@slide
you need double quotes
mayank srivastava
@mighty_1989_twitter
i get this+ python -u build_platform.py .JOB_NAME
@slide sure
Alex Earl
@slide
```sh "python...
doh
sh "python -u build_platform ${env.JOB_NAME}"
single quotes won't allow variable interpolation
mayank srivastava
@mighty_1989_twitter
@slide got it , Thank You very much
Mark Waite
@MarkEWaite
I just updated to branch API plugin 2.5. When I scan a multibranch pipeline for changes using the git plugin for SCM and branch source or using git for SCM and GitHub for branch source, it launches all the jobs in that multibranch pipeline, even those which have no changes. Anyone else seen something like that?
Jason Kulatunga
@AnalogJ
anyone running into issues with the jenkins-test-harness + Jenkins Job DSL plugin throwing SAX XML parsing errors?
lineNumber: 1; columnNumber: 20; XML version "1.1" is not supported, only XML 1.0 is supported.
joshua-alday
@joshua-alday
Hey folks, is it okay if I ask some technical issues here?
Mark Waite
@MarkEWaite
Branch API 2.5.0 seems to start jobs for all branches on first scan of a multibranch pipeline after first upgrade to branch API 2.5.0. See https://issues.jenkins-ci.org/browse/JENKINS-57588 for the bug report
Alex Earl
@slide
@joshua-alday please do
joshua-alday
@joshua-alday
Okay, so perhaps it would be better for me to create a new issue, but. I'm currently having inconsistent OOM issues with Jenkins to Kubernetes, doing maven builds. https://issues.jenkins-ci.org/browse/JENKINS-57165 Relates to my problem, but doesn't take into account kubernetes and maven builds. I've defined proper jvm values, and if I connect directly to the kubernetes pod the builds work successfully with no OOM issues. OOM only happens when Jenkins does the build. Should I start a new issue, or add to the prior?
Casey Wise
@fusion27
I've been asked to automate database migrations. I'm a Jenkins noob. We're in a .net environment leveraging SQL Server. Any of you guys ever automate EDMX updates?
christopher hahn
@chahn1138_gitlab

I am seeing it again:

CMake Error: The source directory "/var/lib/jenkins/workspace/centos-build-/soft/src" does not exist.

I have convinced myself that this is the TRIGGER_TYPE, but did not know that it was not possible to run a Project without one.

@fusion27 Can you run your actions as Powershell scripts? (think of Jenkins as just the driver....if you can script it, then Jenkins can run that script for you)
Björn Magnusson
@bjornmagnusson
@fusion27 I can recommend using flyway for that, pretty seamless. https://flywaydb.org/