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

Resource filtering fails when run from Hudson

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      Platform: PC, OS: Solaris

      Description

      This morning, we upgraded to 1.306

      We had some shell scripts being filtered during packaging. A few properties in
      them (like installation directory) were being filtered and leaving things such
      as CLASSPATH and JAVA_HOME alone (because they are not defined properties).

      As of today, those get filtered to match the values on the Hudson server. We can
      not replicate this from the command-line, even from the same machine. It only
      happens when run from within Hudson.

      We were using the maven-assembly-plugin to do the filtering. The
      maven-resources-plugin is doing the same thing.... but only from Hudson.

        Activity

        Hide
        mdonohue mdonohue added a comment -

        Is 'resource filtering' a maven feature? I'm thinking this should be moved to
        the maven2 subcomponent

        Show
        mdonohue mdonohue added a comment - Is 'resource filtering' a maven feature? I'm thinking this should be moved to the maven2 subcomponent
        Hide
        malachid malachid added a comment -

        It is turning on filtering with maven-resources-plugin or using the filters on
        the maven-assembly-plugin. It does not fail unless Hudson launches it.

        Show
        malachid malachid added a comment - It is turning on filtering with maven-resources-plugin or using the filters on the maven-assembly-plugin. It does not fail unless Hudson launches it.
        Hide
        mdonohue mdonohue added a comment -

        In Hudson is this a freestyle build, or a maven2 build?

        Show
        mdonohue mdonohue added a comment - In Hudson is this a freestyle build, or a maven2 build?
        Hide
        malachid malachid added a comment -

        maven2 build

        Show
        malachid malachid added a comment - maven2 build
        Hide
        mdonohue mdonohue added a comment -

        Moving to Maven2 subcomponent.

        Show
        mdonohue mdonohue added a comment - Moving to Maven2 subcomponent.
        Hide
        zacharysyoung Zachary Young added a comment -

        I'm seeing this behavior, too. Is this considered a "non"-issue, now?

        Show
        zacharysyoung Zachary Young added a comment - I'm seeing this behavior, too. Is this considered a "non"-issue, now?

          People

          • Assignee:
            Unassigned
            Reporter:
            malachid malachid
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: