[JIRA] [timestamper-plugin] (JENKINS-30351) Plain text timing entries in build log file

2015-09-09 Thread amu...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Antonio Muñiz commented on  JENKINS-30351 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Plain text timing entries in build log file  
 
 
 
 
 
 
 
 
 
 
Jesse Glick The consoleText API does not include timestamps generated by this plugin, so it's not an option. stevengbrown /timestamps API would require two HTTP requests from a external tool (one to consoleText and a second one to /timestamps) which is a weird way to get a simple log file with timestamps (and probably not doable with most of the log analysis tools, which require direct access to the log file). 
The proposed PR didn't break anything, since the time selector menu is hidden when you use -Dtimestamper-consolenotes-plain=true, so the user would be who decides if he wants the full feature set or a plain timestamp in the log file (which is the most common use case in the Java world). 
I'm missing this feature, but... your plugin, your rules, of course. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [timestamper-plugin] (JENKINS-30351) Plain text timing entries in build log file

2015-09-09 Thread amu...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Antonio Muñiz commented on  JENKINS-30351 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Plain text timing entries in build log file  
 
 
 
 
 
 
 
 
 
 
Closing this issue as the proposed PR was rejected by stevengbrown 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [timestamper-plugin] (JENKINS-30351) Plain text timing entries in build log file

2015-09-09 Thread amu...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Antonio Muñiz closed an issue as Won't Fix 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30351 
 
 
 
  Plain text timing entries in build log file  
 
 
 
 
 
 
 
 
 

Change By:
 
 Antonio Muñiz 
 
 
 

Status:
 
 In Progress Closed 
 
 
 

Resolution:
 
 Won't Fix 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [timestamper-plugin] (JENKINS-30351) Plain text timing entries in build log file

2015-09-09 Thread stevengbr...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 stevengbrown commented on  JENKINS-30351 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Plain text timing entries in build log file  
 
 
 
 
 
 
 
 
 
 
Antonio Muñiz, you don't have to miss out on this feature. I just disagree with the implementation in the pull request, because it forces users to choose one set of features or the other, when both could be supported by taking a different approach. 
Rather than making two HTTP requests, you could have the timestamps URL provide the console text along with the timestamps when a certain query parameter is used. This would allow the log file of a single build to be inspected. 
If your tool reads through the build directories to find the files, then you could add an option to write the console text and timestamps to a file (separate to the log file) during the build. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [timestamper-plugin] (JENKINS-30351) Plain text timing entries in build log file

2015-09-09 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse Glick commented on  JENKINS-30351 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Plain text timing entries in build log file  
 
 
 
 
 
 
 
 
 
 

you could have the timestamps URL provide the console text along with the timestamps when a certain query parameter is used. This would allow the log file of a single build to be inspected.
 
This seems the most straightforward approach. 
In the longer term, it may be useful for core to support sending the equivalent of consoleText but with selected kinds of annotations expanded in a machine-readable format. 
Anyway it seems that a scripting-friendly solution is already available. Consolidating to a single HTTP request might be a nice addition but hardly seems essential. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [timestamper-plugin] (JENKINS-30351) Plain text timing entries in build log file

2015-09-08 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse Glick commented on  JENKINS-30351 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Plain text timing entries in build log file  
 
 
 
 
 
 
 
 
 
 
Seems like a poor approach to me. What are these external parsers? And why can they not use the standard Jenkins consoleText REST API? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [timestamper-plugin] (JENKINS-30351) Plain text timing entries in build log file

2015-09-08 Thread amu...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Antonio Muñiz commented on  JENKINS-30351 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Plain text timing entries in build log file  
 
 
 
 
 
 
 
 
 
 
Why do you think it's poor? It's simply an additional feature. I'm thinking about log data extract and aggregation tools like Splunk, Awstats or Scribe. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [timestamper-plugin] (JENKINS-30351) Plain text timing entries in build log file

2015-09-08 Thread amu...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Antonio Muñiz created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30351 
 
 
 
  Plain text timing entries in build log file  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  New Feature 
 
 
 

Assignee:
 
 stevengbrown 
 
 
 

Components:
 

 timestamper-plugin 
 
 
 

Created:
 

 08/Sep/15 4:08 PM 
 
 
 

Priority:
 
  Major 
 
 
 

Reporter:
 
 Antonio Muñiz 
 
 
 
 
 
 
 
 
 
 
Add plain text timestamp entries to the build log file (filesystem, not UI). This feature is intended to be used by external log parsers which require some timing information easily parseable. 
This feature is deactivated by default and must be activated by setting a system property. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 

[JIRA] [timestamper-plugin] (JENKINS-30351) Plain text timing entries in build log file

2015-09-08 Thread amu...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Antonio Muñiz started work on  JENKINS-30351 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 

Change By:
 
 Antonio Muñiz 
 
 
 

Status:
 
 Open In Progress 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [timestamper-plugin] (JENKINS-30351) Plain text timing entries in build log file

2015-09-08 Thread stevengbr...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 stevengbrown commented on  JENKINS-30351 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Plain text timing entries in build log file  
 
 
 
 
 
 
 
 
 
 
I'm not keen on this either. Putting the timestamps into the log file breaks most features of the plugin: it is no longer possible to see the elapsed time, turn the timestamps off, change the time-zone, or configure the time-stamp format after the build has completed (which becomes more important when JENKINS-18826 is implemented.) 
The /timestamps URL is intended to provide the timestamps for use by external tools. If it doesn't provide the format that you need, you could consider adding another query parameter. https://wiki.jenkins-ci.org/display/JENKINS/Timestamper#Timestamper-Scripting 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [timestamper-plugin] (JENKINS-30351) Plain text timing entries in build log file

2015-09-08 Thread amu...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Antonio Muñiz assigned an issue to Antonio Muñiz 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30351 
 
 
 
  Plain text timing entries in build log file  
 
 
 
 
 
 
 
 
 

Change By:
 
 Antonio Muñiz 
 
 
 

Assignee:
 
 stevengbrown Antonio Muñiz 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [timestamper-plugin] (JENKINS-30351) Plain text timing entries in build log file

2015-09-08 Thread amu...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Antonio Muñiz updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30351 
 
 
 
  Plain text timing entries in build log file  
 
 
 
 
 
 
 
 
 

Change By:
 
 Antonio Muñiz 
 
 
 

URL:
 
 https://github.com/jenkinsci/timestamper-plugin/pull/16 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [timestamper-plugin] (JENKINS-30351) Plain text timing entries in build log file

2015-09-08 Thread amu...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Antonio Muñiz updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30351 
 
 
 
  Plain text timing entries in build log file  
 
 
 
 
 
 
 
 
 
 
PR sent: https://github.com/jenkinsci/timestamper-plugin/pull/16 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.