How to setup multibranch project with external triggers

2017-07-25 Thread Rainer Hörbe
I want to trigger builds from an external script for different branches for a github-hosted repository. While this setup works with a pipeline job, I fail to configure it for a multibranch pipeline. When I try to enter a code for the API token, I find only a menu item "View Configuration" at the

dockerFingerprintFrom

2017-07-25 Thread Kevin Guo
down votefavorite I have some troubles about dockerFingerprintFrom on jenkins pipeline. The code is as follows: node { stage("First stage") { dockerFingerprintFrom([dockerfile: "."]) } } It

Re: Jenkins installed but stuck at bower installation with NodeJSPlugin

2017-07-25 Thread Sarjerao Jadhav
I have done some R&D for these errors. Please see the When choose Job Type as "Free Style Project" then we can set option Provide Node & npm bin/ folder to PATH Then we can build project successfully with bower & it is also displaying bower version. Refer below snapshot where we can do *settin

Shared libraries and very slow aapt cruncher (android)

2017-07-25 Thread Maciej Gąsiorowski
Hi, I have problem and I have finished with ideas where is problem. I have shared libraries which build our android appliaction, everything works. But when project uses kotlin and aapt cruncher, cruncher works very slow. My build's timouts after one hour. When I use the same project with Scrip

Re: Everything lost after automatic upgrades

2017-07-25 Thread Oleg Nenashev
AFAIK "~/.jenkins" is a temporary directory for Jenkins metadata being used by agents. If you point JENKINS_HOME to it, you may likely lose the data when Jenkins agent restarts. BR, Oleg понедельник, 24 июля 2017 г., 23:56:49 UTC+3 пользователь Giacomo Boccardo написал: > > Hi Björn, > >

Re: parse out text from the console log, to be used in the letter stage of the build

2017-07-25 Thread dasauto
Crude but effective way: - get current job name & build number - wget console log from current job name & build number - parse the text file using env vars for current build: wget ${JENKINS_URL}job/${JOB_NAME}/${BUILD_NUMBER}/consoleText -O console_output.txt W dniu czwartek, 20 lipca 2017 00

How to setup custom report link on github-branch-source-plugin

2017-07-25 Thread Jeeva Kandasamy
Hello, I am new to Jenkinsfile script and started working with github-branch-source-plugin I have configured this plugin for our project repository on GitHub. It is working awesome on PR's. We have to run Jenkins server on private IP(i

Re: jenkins-jira-plugin: Failed to authenticate with JIRA

2017-07-25 Thread Alex Johnson
Hello James, Glancing at the plugin wiki page it seems you are correct - you need Jira v7.0 to use the latest version of the plugin. Installing version 1.41 (latest pre-2.0) could resolve this problem http://updates.jenkins-ci.org/download/

Re: What is the difference between my shell and Jenkins regarding batch command

2017-07-25 Thread dasauto
There may be 2 things to check: - check user which Jenkins uses to execute job versus your own one - if this is executed on node, check if having RDP opened while running job will change anything. If so, this means that RDP session needs to be active while running a build (separate job to setup R

[ANN] Credentials plugin documentation

2017-07-25 Thread Stephen Connolly
I have finally finished documenting the credentials plugin. You can find the documentation at https://github.com/jenkinsci/credentials-plugin/tree/master/docs I have also uploaded PDF versions of the documentation to the plugin's wiki page: https://wiki.jenkins.io/display/JENKINS/Credentials+Plug

Jenkins Slave Logging

2017-07-25 Thread Marvin Gilbert
Hey guys, I have a question about the logging for the jenkins slave.jar . I know that the logs of the job, that is running on a slave node, are send to the master, where I can see them. I also know, that by configuring the -workDir parameter for the slave.jar, enables the logging to disk for the

Slave Logging

2017-07-25 Thread Marvin Gilbert
Hey guys, I have a question about the logging for the jenkins slave.jar I know that the logs from a job that is running on a slave will be send to the master, where I can see them. Furthermore I know, that by setting the -workDir parameter for the slave.jar I can enable logging to disk. But if

Re: parse out text from the console log, to be used in the letter stage of the build

2017-07-25 Thread niristotle okram
Thanks - the 'returnStdout' did it along with some groovy code to parse out the text from the String On Mon, Jul 24, 2017 at 7:05 PM, Slide wrote: > If you are running using bat or sh, you could use returnStdout to get the > contents of the log (this will stop it from printing to the log I belie

Several unapproved Jira users

2017-07-25 Thread fkpkot
Hi, I have several users from my organization who want to use Jenkins Jira to handle our plugin issues but their accounts are only pending and not approved. I'd be happy for some content point for this matter. Thanks ahead, Yafim. -- You received this message because you are subscribed to the