Re: Pipeline & Git branch

2017-01-27 Thread Mark Waite
Did you try the steps I described earlier? https://groups.google.com/d/msg/jenkinsci-users/jiwtA088sXc/BjL-X6DjCwAJ On Friday, January 27, 2017 at 9:12:38 PM UTC-7, Sharan Basappa wrote: > > > I would like to list out all branches in Git with a specific naming > convention (feature_*) and then

Pipeline & Git branch

2017-01-27 Thread Sharan Basappa
I would like to list out all branches in Git with a specific naming convention (feature_*) and then start a build process (compile, test and publish) for each of those branches. Can someone, please, give me some directions on this? Thanks -- You received this message because you are subscrib

How to restore artifacts in Jenkins multibranch job?

2017-01-27 Thread Yevhenii Kurtov
Hello, my goal is to copy compiler artifacts and fetched dependencies between builds of all branches to speed up the execution time. I wrote two steps in Jenkinsfile to save and restore artifacts: def buildCache= 'packages-deps.tgz' //... stage('Restore cache') { unarchive mapping: [(bu

folder computation takes too long for bitbucket team configuration

2017-01-27 Thread Ruchir Brahmbhatt
Hi, I have configured bitbucket team project with jenkinsfile pipeline as code. We have obviously many repositories in the team account. Jenkins takes too long to finish folder computation. I'm afraid this may delay in reflecting the changes to repositories(new repositories may not reflect fast

Re: how to setup pipeline {agent} from the private Docker hub repo?

2017-01-27 Thread Andrew Bayer
We recently added registry support to Declarative - register the credentials needed for the private registry in Jenkins' UI and then you can do: agent { docker { image "image name" registryUrl "https://wherever"; registryCredentialsId "credsId" } } On Fri, Jan 27, 2017 at 9:43 AM

Re: how to setup pipeline {agent} from the private Docker hub repo?

2017-01-27 Thread Indra Gunawan (ingunawa)
node("docker") { docker.withRegistry('<>', '<>') { … } } From: on behalf of Natalia Serebryakova Reply-To: "jenkinsci-users@googlegroups.com" Date: Friday, January 27, 2017 at 9:43 AM To: Jenkins Users Subject: how to setup pipeline {agent} from the private Docker hub repo? Hi I c

Jenkins plugin for storing a company's Android APKs in Artifactory

2017-01-27 Thread Gábor Szántó
Hi everyone! I have set up a lot of Jenkins jobs and projects so far in my company. These jobs check out the develop branch from Git, build the APKs, sign it and publish it to Artifactory. Now the problem: we have a lot of artifacts (APKs) in our Artifactory, and we developed an Android applic

html for the system message

2017-01-27 Thread Richard Ginga
I have succeeded in crafting a nice table of environment information to post to the system message. my one problem is: I would like the size of the text to be smaller. I have been able to "test" the same html in various web sites, but in Jenkins, setting font-size to anything does nothing. is the

how to setup pipeline {agent} from the private Docker hub repo?

2017-01-27 Thread Natalia Serebryakova
Hi I checked the documentation and GH wiki, but I can’t find a way to specify docker build (agent) from a private Docker hub repo. Meaning if our company has a private account on Docker Hub, how do I add image from that repo to the Jenkisnfile? Pipeline { agent { the label 'whate

Re: Blue Ocean is showing a blue bar at about 90% for 20 minutes

2017-01-27 Thread Rinaldo DiGiorgio
James, Thanks for the information. Blue Ocean seems to address one of my challenges with Jenkins. The User interface was basically not written in a way that allowed one to provide their own. Suppose I have some UI components that I want to use for showing build results and I want to rep

Re: How to restrict access to my job parameters from my read-only users

2017-01-27 Thread 'Björn Pedersen' via Jenkins Users
Hi, for sensitive parameters, I would use the credentials-plugin. Björn Am Mittwoch, 25. Januar 2017 02:44:03 UTC+1 schrieb Francisca Munhoz: > > Hi guys, I have a Read-only user group on my Jenkins server. > > They can not see the config from the jobs if they check parameters > (/job/MYJOB/1

How to disable 'Upgrade now' banner when migrating to Jenkins 2

2017-01-27 Thread Victor Martinez
Hi there, I've been upgrading Jenkins from 1.651.1 to 2.19.4 with some flags underneath to avoid having issues with the Plugin upgrade wizard, but there is always a banner about to upgrade now as you can see below: Welcome to Jenkins 2!Upgrade now

Re: What version of Jenkins was stage blocks introduced?

2017-01-27 Thread Vincent Latombe
See https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Stage+Step+Plugin Vincent 2017-01-27 14:32 GMT+01:00 Mark Allison : > I am building some pipeline projects and want to use the new stage blocks > feature as the old way is now deprecated. > > e.g. > > stage ('build') { > // my block of cod

Re: Where do Script Console actions get logged?

2017-01-27 Thread Adam Ochonicki
> > Don't grant anonymous users (or anyone who you don't trust fully) > administer permission on Jenkins. Security is a funny thing. Sometimes things go wrong and that's why logs are important for discovering what happened when. I'll file something with the Jenkins team regarding script console l

What version of Jenkins was stage blocks introduced?

2017-01-27 Thread Mark Allison
I am building some pipeline projects and want to use the new stage blocks feature as the old way is now deprecated. e.g. stage ('build') { // my block of code to do the build } Trouble is our current Jenkins version (2.7) doesn't support stage blocks, does anyone know what version they were

weekly build for windows is broken

2017-01-27 Thread masaru tsuchiyama
Hi weekly build for windows is broken. http://mirrors.jenkins-ci.org/windows/ The file size of jenkins-2.41.zip and jenkins-2.42.zip are both 0. Regards. Masaru. -- You received th

Re: Pipeline script for Build Trigger

2017-01-27 Thread Sebastian Gurlt
Hey, I want to do the same with automatic time based builds, any hint how I could implement this ? :) Greetings Sebastian Am Freitag, 12. August 2016 20:55:03 UTC+2 schrieb John Engelman: > > I was able to get the branch to enable the trigger by adding the following > to my Jenkinsfile: > > pr

Re: Japan mirrors unstable

2017-01-27 Thread Noam Tamim
Hi, Both ftp.yz.yamagata-u.ac.jp and ftp.tsukuba.wide.ad.jp are randomly selected, with the same results. Note that not only the link speed and reliability to Europe are better, but Europe is actually geographically closer to Israel than Japan. Jenkins installation with the recommended plugins wa