Hi all,
I use the following code to trigger a job on a daily basis:
properties([[$class: 'BuildDiscarderProperty',
strategy: [$class: 'LogRotator', numToKeepStr: '10']],
pipelineTriggers([cron( env.BRANCH_NAME == 'master' ?
'@hourly' : '' )]),
])
No
On 8/10/18 1:34 PM, 'Björn Pedersen' via Jenkins Users wrote:
Hi,
Hola Björn,
I think you are trying to be too clever here:
HaHa, would I ask this if I was clever? ;)
pipeline{ } expects a declarative pipeline, but you are supplying a
scripted one inside.
Brilliant, I should have know
Hello all,
My Jenkinsfile aborts with an error and I can't find the reason. I ran
out of ideas. Also I have no clue what the error means (neither Java nor
Groovy is my strength). The curious thing is, when I remove the last
block ("Clean") in the runPipeline function the job runs successfully.
Hi all,
I dynamically create parallel stages from the contents of a file. The
"parallel" step run, ut the job still fails with a "mysterious" error.
The code and the error message can be found in the Gist
https://gist.github.com/bemeyert/2eeffa6f649b57ffc9f015c3a5942e31
Any help would be muc
Am 10.06.2015 um 14:48 schrieb Markus "Shorty" Uckelmann:
I try to convert a "standard" build to a workflow build. In the the
original build we use the SSH-Agent plugin to access SSH-keys we need
for deploying the artifacts in the builds shell-script. How can I do
something l
Hi all,
I try to convert a "standard" build to a workflow build. In the the
original build we use the SSH-Agent plugin to access SSH-keys we need
for deploying the artifacts in the builds shell-script. How can I do
something like this in workflow? Is this even possible?
Cheers, Shorty
--
Yo
Am 02.06.2015 um 00:18 schrieb Craig Rodrigues:
| Hi,
Hola Craig,
| If you are going to use the workflow plugin, I highly recommend
| you watch this Youtube video by Cyrille Le Clerc from Cloudbees:
Aye, will do.
| That video is so good, I think it should be, put in the README.md
| file for th
Am 01.06.2015 um 15:37 schrieb Markus "Shorty" Uckelmann:
| node ('admins') { def dir = '7packer-boxes'
Renaming the variable from "dir" to "mydir" helped.
| The build starts, works to the point where the dir step is and
| then doesn't do a
Hi all,
I just started to play a bit with the workflow-plugin and got stuck with
dir step. My "awesome" code:
stage 'box'
node ('admins') {
def dir = '7packer-boxes'
sh "mkdir ${dir} || :"
echo "Changing to dir ${dir}"
sh "pwd"
dir("${dir}") {
sh "pwd"
}
}
The build st
Hi all,
I just started to play a bit with the workflow-plugin and got stuck with
dir step. My "awesome" code:
stage 'box'
node ('admins') {
def dir = '7packer-boxes'
sh "mkdir ${dir} || :"
echo "Changing to dir ${dir}"
sh "pwd"
dir("${dir}") {
sh "pwd"
}
}
The build starts, w
10 matches
Mail list logo