On Wed, Mar 26, 2014 at 3:47 AM, teilo wrote:
>
>> The states I'd want to store are the polling status of the underlying
>> subversion repository related to the job,
>
>
> No workspace so - this is a bit moot as you have nowhere to checkout and
> nowhere for jenkins to calculate the changes.
> How
>
> > Depending on what state you want to store you should look at writing
> either an extension to the build flow, or a new plugin or a combination of
> both.
>
> The states I'd want to store are the polling status of the underlying
> subversion repository related to the job,
No workspace
On Sat, Mar 22, 2014 at 3:04 AM, teilo wrote:
> Hi Les,
>
> Firstly a workspace will never give you true stateless in Jenkins à workspace
> availability is best effort (slave may be unavailable, workspace may be
> deleted to reclaim slave disk space...)
>
> Depending on what state you want to st
Hi Les,
Firstly a workspace will never give you true stateless in Jenkins à workspace
availability is best effort (slave may be unavailable, workspace may be deleted
to reclaim slave disk space...)
Depending on what state you want to store you should look at writing either an
extension to the
On Thu, Mar 20, 2014 at 12:19 PM, James Nord (jnord) wrote:
> Attempting to do this is a bad idea for the future.
>
>
>
> The workspace does not exist in the latest version of the plugin (and having
> it allowed people to abuse its functionality from being an orchestrator.)
>
Is there an alternat
Behalf Of slopes...@gmail.com
Sent: 20 March 2014 17:00
To: jenkinsci-users@googlegroups.com
Subject: Re: Cannot write file to disk using the build Flow plugin
I can write to a file successfully by adding the Jenkins workspace to the path.
try something like this:
workspace
I can write to a file successfully by adding the Jenkins workspace to the
path. try something like this:
workspace = build.environment.get("WORKSPACE");
new File("${workspace}/foo.ini").withWriter { out ->
out.writeLine("this is a test")
}
On Tuesday, March 4, 2014 3:59:29 AM UTC-8, dev
I don't think build flows have a workspace, they run in the JVM. It is probably
trying to write to JENKINS_HOME
Sent from my iPhone
> On Mar 4, 2014, at 3:59 AM, dev123 wrote:
>
> I have a build flow job where the first step I need to execute is writing a
> file to disk:
>
>
> Properties pr
I have a build flow job where the first step I need to execute is writing a
file to disk:
Properties props = new Properties();
props.setProperty("Var1", "asdasd");
File f = new File("Configs.properties");
OutputStream out = new FileOutputStream( f );
props.store(out,null);
When I run the job I