Questions tagged [jenkins-build-flow]

Build Flow plugin for the Jenkins continuous integration server.

The Build Flow plugin for the Jenkins continuous integration server software enables defining upper level Flow item to manage job orchestration and link up rules, using a dedicated domain-specific language (DSL). This DSL makes the flow definition very concise and readable.

Links:

66 questions
0
votes
2 answers

Jenkins job pauses for 15 minutes

I have a job running on a WindowsServer2012R2 agent. The job is pausing between 2 plugins (BuildNameSetter v1.6.8 and DiscardOldBuilds v1.0.5) as you can see below: 13:05:25 Set build name. 13:05:25 New build name is '5.0.811.0' 13:20:21…
0
votes
1 answer

How to trigger a job success to a pipeline workflow before archiving artifacts

I have the Jenkins pipeline which contains series of job (for testing using Selenium & Cucumber BDD). Every time we run the pipeline, even the functional test is passed (i called it test status) it takes time for saving the artifacts then job is…
0
votes
1 answer

How do I schedule jobs in Jenkins on specific time?

For every +61 minute e.g. 00:00, 01:01, 02:02, 03:03 ...
0
votes
0 answers

Error while archiving the artifacts for a Jenkins freestyle project?

can someone help me to understand why I am supposed to add POM.XML file when I am trying to archive the artifacts in a Jenkins freestyle project? let me know if I'm missing something or if my understanding is wrong. Is this only way to approach to…
0
votes
1 answer

jenkins builds the same project several times

I'm learning Jenkins, I've configured one simple project that only gets a git repository. I click on "Build Now" button, and Jenkins, start a new task, after finished that task, it starts a new task and so. Is it normal? Isn't supposed that after…
YoDanielo
  • 110
  • 1
  • 6
0
votes
1 answer

How to execute shell commands in windows slave machine from Jenkins?

I have connected windows machine as a slave to a Jenkins job I have installed gitbash.exe in the windows slave machine I need to execute shell commands from Jenkins in windows slave Found some solutions like, Specifying the shell.exe path in the…
VJohn
  • 493
  • 1
  • 14
  • 23
0
votes
0 answers

Running a bat file in Jenkins

I am trying to run a bat file to start a server as follows: cd c:\...\bin call asadmin start-domain This should start the server. It works great with command prompt, but it is not working when I am using the same commands with Jenkins. It is a…
Fred
  • 1
  • 1
0
votes
1 answer

Jenkins MSBUILD : error MSB1008: Only one project can be specified.Switch: Files

I know there are many threads with same subject line ,but i am not getting any answer and hence putting my question here. I am new to this and try to learn as fast as possible due to the time lines i have. I did Jenkin setup (tried my best to do…
user484948
  • 69
  • 1
  • 9
0
votes
1 answer

Private Bitbucket repository not creating packages in Jenkins

I am trying to generate package in Jenkins with poll SCM (* * * * *) mechanism. If I keep my repository public, and if I commit any changes from visual studio to bitbucket, It is creating packages in Jenkins (Still I need to click on Build Now…
Keval Patel
  • 925
  • 4
  • 24
  • 46
0
votes
0 answers

Jenkins Pipeline Execute Multiple FreeStyleProjects in Parallel

I am trying to use Jenkins 2.0 with Pipeline Plugin. How can I execute multiple tasks (FreeStyleProjects) in parallel (via closures). I tried 2 examples and they both failed. How can I achieve this functionality? A. Sample Pipeline script; def…
0
votes
1 answer

Jenkins Build off specific branches (jenkins git plugin)

I am trying to use refs/heads/master in my config.xml Which means I am intending to build only commits of master, but apparently…
Pramod Setlur
  • 811
  • 1
  • 15
  • 27
0
votes
1 answer

Jenkins build flow plugin complete prematurely after executing the first parallel jobs

I've got the Jenkins build flow below: parallel ( { build("a1") }, { build("a2") }, { build("a3") }, { build("a4") }, { build("a5") }, { build("a6") }, { build("a7") }, { build("a8") } ); parallel ( { build("p1") }, { build("p2")…
chaos
  • 641
  • 10
  • 21
0
votes
1 answer

Access jenkins build job paramter via shell script

My Jenkins build job is triggered via an external service by parameters that I can see in the left menu under parameters. So I want to react on that parameters via my shell script in the Jenkins job itself. I could only find information about…
PaCo
  • 1
0
votes
0 answers

Build Flow job working issue with Multijob project

I have added the build flow job with my multijob. I faced some issues with build flow job. It always executes twice whenever I gave build. Is there anybody faced and solved this issue previously?
mahinlma
  • 1,208
  • 3
  • 11
  • 24
0
votes
0 answers

how to create a text file using Groovy in a buildflow [Jenkins]?

I have a Builflow with Groovy script. I cannot seem to be able to create a new file. The command does execute but I cannot see the file in my workspace. First to create it in WORKSPACE I need to know where it is. def WORKSPACE=…
Cher
  • 2,789
  • 10
  • 37
  • 64