Skip to content
  1. Oct 10, 2014
  2. Oct 09, 2014
  3. Oct 08, 2014
  4. Oct 07, 2014
  5. Oct 06, 2014
    • Jesse Glick's avatar
      Better robustness when action loading fails. · f8146742
      Jesse Glick authored
      For example, the following should not cause Run.onLoad itself to fail:
      java.lang.NullPointerException
      	at org.jenkinsci.plugins.workflow.steps.input.InputAction.onLoad(InputAction.java:29)
      	at hudson.model.Run.onLoad(Run.java:342)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.onLoad(WorkflowRun.java:332)
      2 tags
      f8146742
    • Jesse Glick's avatar
    • Kohsuke Kawaguchi's avatar
      the trunk is toward 1.585-SNAPSHOT · 02302d48
      Kohsuke Kawaguchi authored
      02302d48
    • Kohsuke Kawaguchi's avatar
      creating an RC branch · 89d749ee
      Kohsuke Kawaguchi authored
      89d749ee
    • Jesse Glick's avatar
      [JENKINS-21224] Defend against exceptions in listeners, for now just for ItemListener. · 6825121f
      Jesse Glick authored
      java.lang.RuntimeException: Unable to copy /…/jobs/…/config.xml
      	at hudson.plugins.jobConfigHistory.FileHistoryDao.createNewHistoryEntryAndCopyConfig(FileHistoryDao.java:252)
      	at hudson.plugins.jobConfigHistory.FileHistoryDao.createNewItem(FileHistoryDao.java:238)
      	at hudson.plugins.jobConfigHistory.JobConfigHistoryJobListener.onCreated(JobConfigHistoryJobListener.java:31)
      	at hudson.model.listeners.ItemListener.fireOnCreated(ItemListener.java:161)
      	at jenkins.model.Jenkins.putItem(Jenkins.java:2483)
      	at …
      Caused by: java.io.FileNotFoundException: /…/jobs/…/config.xml (No such file or directory)
      	at java.io.FileInputStream.open(Native Method)
      	at java.io.FileInputStream.<init>(FileInputStream.java:120)
      	at hudson.plugins.jobConfigHistory.FileHistoryDao.copyConfigFile(FileHistoryDao.java:178)
      	at hudson.plugins.jobConfigHistory.FileHistoryDao.createNewHistoryEntryAndCopyConfig(FileHistoryDao.java:250)
      	... 108 more
      2 tags
      6825121f
  6. Oct 04, 2014
  7. Oct 03, 2014
    • Daniel Beck's avatar
      [FIXED JENKINS-24966] Return failure when port is in use · 2b6c00db
      Daniel Beck authored
      Both 0 and 1 are used to indicate some kind of success (the latter when Jenkins doesn't need to be started because it was already running), so we need to return 2.
      2b6c00db
    • Jesse Glick's avatar
      NPE during shutdown. · c3d7e940
      Jesse Glick authored
      java.lang.NullPointerException
      	at hudson.model.User.idStrategy(User.java:140)
      	at hudson.model.User.getOrCreate(User.java:373)
      	at hudson.model.User.get(User.java:366)
      	at hudson.model.User.get(User.java:331)
      	at hudson.model.User.get(User.java:441)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.getAuthentication(CpsFlowExecution.java:614)
      	at org.jenkinsci.plugins.workflow.cps.CpsVmThread.run(CpsVmThread.java:20)
      2 tags
      c3d7e940
  8. Oct 02, 2014
  9. Oct 01, 2014
  10. Sep 29, 2014
    • Matt Moore's avatar
      This change converts several optionalBlock's wrapping a single field to inline="true". · eec43983
      Matt Moore authored
      By converting several optionalBlock entries to use inline="true", we convert the submitted JSON from:
         "hasPropertyFoo": {
           "propertyFoo": "value"
         },
      
      which is a somewhat unnatural naming scheme, to:
         "hasPropertyFoo": true,
         "propertyFoo": "value",
      
      This enables us to use the pattern:
         if(json.optBoolean("hasPropertyFoo", json.has("propertyFoo"))) {
           ...
         }
      
      To permit either of the following as JSON blobs, for specifying a value for "propertyFoo":
      1) "hasPropertyFoo": true,            # What comes through from jelly
         "propertyFoo": "value",
      
      2) "propertyFoo": "value",
      
      It also allows any of the following as JSON blobs, for NOT specifying a value for "propertyFoo":
      3) "hasPropertyFoo": false,           # What comes through from jelly
         "propertyFoo": "value",
      
      4) "hasPropertyFoo": false,
      
      5) (nothing specified)
      
      NOTE: The main interest in flexibility in what JSON comes through is in support of: https://wiki.jenkins-ci.org/display/JENKINS/YAML+Project+Plugin, this is also the purpose of the couple renames that are mixed in with this.
      eec43983
    • Kohsuke Kawaguchi's avatar
      merged back the RC branch · 09c59c01
      Kohsuke Kawaguchi authored
      09c59c01
    • Kohsuke Kawaguchi's avatar
      45ff0bcb