Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3942

Resolve job variables within Javadoc path location

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      Due to how clearcase works and our use of the plugin, we use a couple job
      variables (NODE_NAME, JOB_NAME) to define the name of the clearcase view. This
      value ends up as part of the filesystem. In order to make the build
      relocatable, we have to be able to pass these variables to the post build
      processors so that they can find all the build output.

      This enhancement is to add the build variable processing to the javadoc plugin's
      Javadoc directory setting. The code would then need to resolve this directory
      at build time with the build parameters.

          [JENKINS-3942] Resolve job variables within Javadoc path location

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/src/main/java/hudson/tasks/JavadocArchiver.java
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=22031
          Log:
          [FIXED JENKINS-3942] Fixed in 1.325. We probably need some kind of mechanical checks to make sure all the fields are variable expanded. Otherwise this is too error prone.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/tasks/JavadocArchiver.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=22031 Log: [FIXED JENKINS-3942] Fixed in 1.325. We probably need some kind of mechanical checks to make sure all the fields are variable expanded. Otherwise this is too error prone.

          Tetiana Tvardovska added a comment - - edited

          "Publish Javadoc" section reports an error when variables are used for "Javadoc directory" value:

          No such directory: 'trunk/build/${SVN_REVISION}/docs /javadoc'

          Jenkins ver. 1.423
          Ubuntu Server 10.04

          Tetiana Tvardovska added a comment - - edited "Publish Javadoc" section reports an error when variables are used for "Javadoc directory" value: No such directory: 'trunk/build/${SVN_REVISION}/docs /javadoc' Jenkins ver. 1.423 Ubuntu Server 10.04

            Unassigned Unassigned
            petehayes Peter Hayes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: