Re: Problem when trying to connect to GitHub from a Windows slave

2019-05-27 Thread Sébastien Hinderer
Hello David, Many thanks for your response! eyal david (2019/05/27 18:37 +0300): > Hi > Try to recreate new keys from the windows slave using the git bash ... What do you mean by git bash ? > than create credentails id in jenkins master based on the your private key > created on the windows sla

Re: Problem when trying to connect to GitHub from a Windows slave

2019-05-27 Thread Sébastien Hinderer
Hi, Many thanks for your response. Geoffroy J (2019/05/27 09:18 -0700): > Hello > > Have you tried cloning manually using the ssh key on windows? Yes, and it worked. Sorry I forgot to mention this. > Also, what username have you configured for your git credential on > Jenkins? The GitHub user

Re: Problem when trying to connect to GitHub from a Windows slave

2019-05-27 Thread Geoffroy J
Hello Have you tried cloning manually using the ssh key on windows? Also, what username have you configured for your git credential on Jenkins? I faced ssh issues on windows because of change in SSH/GIT and it was necessary to set credential username to 'git' instead of the real github username

Problem when trying to connect to GitHub from a Windows slave

2019-05-27 Thread Sébastien Hinderer
Dear all, Recently, I wanted my slaves to fetch our GitHub repository through authenticated ssh coneections rather than through HTTPS unauthenticated connections. I created the appropriate Jenkins credential with ssh keys, replaced the HTTPS URL of the repo by an ssh-based one and requested the u

Need help with Multi module maven project

2019-05-27 Thread Sakshi Arora
Hi All, I have create a multi module maven project using git submodules. How do I configure that in Jenkins so that whenever commit happens in any of the modules, a trigger of the Jenkins job happens which builds and tests the parent module. Tried creating a scripted pipeline, and triggering is

Advanced Project Options -> Display Name with a variable in it ?!?

2019-05-27 Thread b o b i
Advanced Project Options -> Display Name Is there a way to introduce a variable in the display name, so that is displayed depending on this variable ? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop re

Re: Pipeline: The sh step does not show all output

2019-05-27 Thread Sverre Moe
I got it to work by modifying my original sh step. I had to remove returnStdout sh(label: "Build and Package", script: "make 2>&1 | tee buildOutputFile.txt" ) mandag 27. mai 2019 15.50.07 UTC+2 skrev Sverre Moe følgende: > > Not sure I understand that workaround. > > "$@" 2>&1; echo $? >&3

Re: Pipeline: The sh step does not show all output

2019-05-27 Thread Sverre Moe
Not sure I understand that workaround. "$@" 2>&1; echo $? >&3) | tee "$LOGFILE" >&4) 3>&1) | (read xs; exit $xs)) 4>&1 I tried to modify this to work with my example: final def output = sh(returnStdout: true, script: "make >&3) | tee buildOutput.txt >&4) 3>&1) | (read xs; exit $xs)) 4

Re: Error: Access denied connecting to TFS server http://dev.azure.com/

2019-05-27 Thread Eoin Rockall
Fixed it. I created a Personal Access Token and passed that in as the password instead. I can now access dev.azure but there is no mapping due to the working folder already being in use in the workspace. Is the only way to get around that error by deleting the workspace and creating a new mappi

Error: Access denied connecting to TFS server http://dev.azure.com/

2019-05-27 Thread Eoin Rockall
Hi, My company has just migrated to DevOps from TFS and I have run into a few problems with Jenkins and the running of the automated tests. I changed the 'Collection URL' in the Source Code Management section from: http://tfs2010:8080/tfs/defaultCollection -> https://dev.azure.com/COMPANY

Re: Jenkins ParameterizedRemoteTrigger fails calling a job (but job runs ok)

2019-05-27 Thread Elhanan Maayan
turns out, if i use the actuall ip and the dns name when referring to the server it works git commits: https://github.com/jenkinsci/parameterized-remote-trigger-plugin/commit/1cfeab90798f3c1af42241c39c2fe173f2e47016 seems to show there was a change , but i'm not sure what that was. On Monday, M

Writing a stream of logs from a shared library so they appear under one collapsible panel in Blue Ocean

2019-05-27 Thread Peter Goodman
Hi, So I have written some Groovy code in a shared library. I want that library to be able to write lots of logs (by polling an external api for the service I am integrating). However, if I use echo or println they appear as new sections in the Blue Ocean UI. [image: echo_in_blue_ocean.png]

Re: Pipeline: The sh step does not show all output

2019-05-27 Thread Ullrich Hafner
Would a workaround as shown in https://issues.jenkins-ci.org/browse/JENKINS-54832 help? > Am 27.05.2019 um 12:51 schrieb Sverre Moe : > > I found a way to ouput both stdout and stderr, but then I didn't get either > in Jenkins Console. > sh(

Re: Pipeline: The sh step does not show all output

2019-05-27 Thread Sverre Moe
I found a way to ouput both stdout and stderr, but then I didn't get either in Jenkins Console. sh("make 2>&1 | tee buildOutputFile.txt") mandag 27. mai 2019 12.20.17 UTC+2 skrev Sverre Moe følgende: > > The standard output from the sh-step does not show all the output: > final def output = sh(re

Pipeline: The sh step does not show all output

2019-05-27 Thread Sverre Moe
The standard output from the sh-step does not show all the output: final def output = sh(returnStdout: true, label: "Build and Package", script : "make") writeFile(file: 'buildOutputFile.txt', text: output) The Blue Ocean log output from a single Node shows all the warnings, but the output from t

Re: Warnings Next Generation Plugin: Keep its history after discard builds

2019-05-27 Thread Ullrich Hafner
The trend charts are created dynamically using the available build results. So if you delete builds, then those results are also not available anymore. (This concept should be similar for all Jenkins plugins, or are e.g. test results shown for deleted builds?). One workaround would be to delet

editable parameters, dependent on previous parameter choices?

2019-05-27 Thread b o b i
We have the active choice plug-in to create dynamically parameter choices dependent on previous parameter choices. These choices are not editable. We have the extensible choice plug-in to create editable parameter. But you cannot create depended choices on previous parameters. So, how you do co

Warnings Next Generation Plugin: Keep its history after discard builds

2019-05-27 Thread Sverre Moe
The "Warnings Trend" graphs are empty. >From out last build: sles15.0-x86_64: No warnings No warnings for 28 builds, i.e. since build 3 This might be because we delete old builds. We keep only the last 10 builds. In this case build #3 has been deleted. Is there a workaround for this? We do not w