Skip to content
Browse files
[FIXED JENKINS-8573] property is not available …
…during maven build
  • Loading branch information
olamy committed Mar 17, 2011
1 parent a1e0ac0 commit d4f8020ad40f0ad5b715e083981b1d63cd518664
@@ -22,8 +22,10 @@
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Properties;
import java.util.StringTokenizer;
@@ -86,6 +88,8 @@
private PlexusContainer plexusContainer;

private DefaultSecDispatcher dispatcher;

static final String DEFAULT_BUILD_TIMESTAMP_FORMAT = "yyyyMMdd-HHmm";

This comment has been minimized.

Copy link

batkinson Feb 18, 2013


This doesn't respect, which means Jenkins-Maven won't act like straight Maven.

public void initialize()
throws InitializationException
@@ -342,6 +346,7 @@ static void populateProperties( CommandLine commandLine, Properties systemProper

systemProperties.putAll( System.getProperties() );
systemProperties.put( "", new SimpleDateFormat(DEFAULT_BUILD_TIMESTAMP_FORMAT).format( new Date() ) );

private static void setCliProperty( String property, Properties properties )

1 comment on commit d4f8020


This comment has been minimized.

Copy link

@abisain abisain commented on d4f8020 Jul 19, 2013

Is there a plan to fix this? This code is ignoring the timestamp.format specified by the user in pom files.

Please sign in to comment.