Jenkins Pipeline @script directory creation

780 views
Skip to first unread message

Jared Kauppila

unread,
Aug 10, 2016, 1:50:42 PM8/10/16
to Jenkins Users
Hello,

We are currently running Jenkins 2.7.2 and have a pipeline job defined that utilizes the 'Pipeline script from SCM' SVN repo at the very start, as a result, we get the following folders upon execution:

  • Dev_Pipeline
  • Dev_Pipeline@script
  • Dev_Pipeline@tmp

When we kick off another concurrent build, we get the following additional folders:


  • Dev_Pipeline@2
  • Dev_Pipeline@2@tmp

Is there any particular reason it's not pulling down the SVN repo into a 'Dev_Pipeline@2@script' as well? I can't find a configuration option to allow this.


Thanks,

Jared

Jared Kauppila

unread,
Oct 11, 2016, 12:06:36 PM10/11/16
to Jenkins Users
Any thoughts on this? I haven't been able to find a workaround.

Since we're using the JenkinsFile that path, we are unable to run concurrent jobs.

Jared Kauppila

unread,
Oct 11, 2016, 12:16:13 PM10/11/16
to Jenkins Users
Nevermind, I was mixing up a few concepts when taking a look at this.

Do the contents of the script directly get stored somewhere during execution for a build? What happens if I make changes to the contents of the script for a build while a previous build is in the middle of execution?
Reply all
Reply to author
Forward
0 new messages