Workflow: extract git revision and build a timestamp

2015-11-12 Thread Jens Wilke
Hi all, for extracting a git revision and building a timestamp at the beginning of a job I have now the following code: stage 'build' node { git '' sh 'xy=`git rev-parse HEAD | cut -c1-11`; echo -n $xy > git-revision' def rev11 = readFile 'git-revision' echo "Git revision ${rev11}"

Re: Reserve ext resource in workflow

2015-11-12 Thread Jens Wilke
Dave, nice question. There are several plugins that can help you: Locks and Latches (outdated), Build Blocker, Exclusion. However, in our setups we tend to use separate Slaves/Nodes for constrained hardware. This plays well with the Jenkins scheduling and it is transparent. The separate Jenkin

Re: How to check the integrity of a jenkins.war download?

2015-11-12 Thread Jens Wilke
On Tuesday, November 10, 2015 at 2:25:00 PM UTC-8, Stephen Connolly wrote: > > $ jarsigner -verbose -certs -verify jenkins.war > Thanks Stephen! -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving

How to check the integrity of a jenkins.war download?

2015-11-10 Thread Jens Wilke
Hi all, I am just reviewing and upgrading our Jenkins CI setup. What I found very irritating: 1. there seems no download instruction for the war 2. there is no way to check the integrity of a downloaded war file What I found: war files are at http://mirrors.jenkins-ci.org/war/. It is accessilbe