[JIRA] [job-dsl-plugin] (JENKINS-34085) Add support for Versionnumber Plugin

2016-06-09 Thread m...@daniel-spilker.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Daniel Spilker edited a comment on  JENKINS-34085 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Add support for Versionnumber Plugin  
 
 
 
 
 
 
 
 
 
 Instead of adding built-in Job DSL support, it's possible to use the upcoming generic DSL support ([#816|https://github.com/jenkinsci/job-dsl-plugin/pull/816]) for the Version Number plugin. Example:{code}job('example') {  wrappers {versionNumberBuilder {  versionNumberString('1.0.0')  environmentVariableName('VERSION')  useAsBuildDisplayName(true)  projectStartDate('2012-05-04')   environmentPrefixVariable(null)  buildsToday(null)  buildsThisWeek(null)  buildsThisMonth(null)  buildsThisYear(null)  buildsAllTime(null)  skipFailedBuilds(false) }  }}{code}To be able to use {{versionNumber}} instead of {{versionNumberBuilder}} as wrapper name, you can open a PR for the Version Number plugin, like I did for the Gerrit Trigger plugin, see [jenkinsci/gerrit-trigger-plugin#280|https://github.com/jenkinsci/gerrit-trigger-plugin/pull/280]. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [job-dsl-plugin] (JENKINS-34085) Add support for Versionnumber Plugin

2016-06-08 Thread m...@daniel-spilker.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Daniel Spilker resolved as Fixed 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
The automatically generated DSL has been released in 1.46 and can be used to add the wrapper. 
 
 
 
 
 
 
 
 
 
 Jenkins /  JENKINS-34085 
 
 
 
  Add support for Versionnumber Plugin  
 
 
 
 
 
 
 
 
 

Change By:
 
 Daniel Spilker 
 
 
 

Status:
 
 Open Resolved 
 
 
 

Resolution:
 
 Fixed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [job-dsl-plugin] (JENKINS-34085) Add support for Versionnumber Plugin

2016-04-08 Thread m...@daniel-spilker.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Daniel Spilker commented on  JENKINS-34085 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Add support for Versionnumber Plugin  
 
 
 
 
 
 
 
 
 
 
Instead of adding built-in Job DSL support, it's possible to use the upcoming generic DSL support (#816) for the Version Number plugin. Example: 

 

job('example') {
  wrappers {
versionNumberBuilder {
  versionNumberString('1.0.0')
  environmentVariableName('VERSION')
  useAsBuildDisplayName(true)
  projectStartDate('2012-05-04')
}
  }
}
 

 
To be able to use versionNumber instead of versionNumberBuilder as wrapper name, you can open a PR for the Version Number plugin, like I did for the Gerrit Trigger plugin, see jenkinsci/gerrit-trigger-plugin#280. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [job-dsl-plugin] (JENKINS-34085) Add support for Versionnumber Plugin

2016-04-07 Thread mart...@lunar-consultancy.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Martijn van Lune commented on  JENKINS-34085 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Add support for Versionnumber Plugin  
 
 
 
 
 
 
 
 
 
 
Created pull-request: https://github.com/jenkinsci/job-dsl-plugin/pull/818 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [job-dsl-plugin] (JENKINS-34085) Add support for Versionnumber Plugin

2016-04-07 Thread mart...@lunar-consultancy.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Martijn van Lune created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-34085 
 
 
 
  Add support for Versionnumber Plugin  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  New Feature 
 
 
 

Assignee:
 
 Daniel Spilker 
 
 
 

Components:
 

 job-dsl-plugin 
 
 
 

Created:
 

 2016/Apr/07 12:23 PM 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Martijn van Lune 
 
 
 
 
 
 
 
 
 
 
Plugin: https://wiki.jenkins-ci.org/display/JENKINS/Version+Number+Plugin 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

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