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

Envinqect plugin not allowing proporties with \u0027 to be added

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • envinject-plugin
    • None

      trying to add a property string that would look like

      -newermt '10 minutes ago'

      and I get:
      [EnvInject] - Injecting environment variables from a build step.
      [EnvInject] - Injecting as environment variables the properties content
      STOP_ANNOYANCES=--no-2sp_soft_tabs-check --no-arrow_alignment-check
      FIND_PARAMS=-newermt \u0027 10 minutes ago \u0027
      COMMON_MODULES_TO_CHECK=cpan firewall java jenkins logrotate memcached rpmbuild_setup spi_* tarutils

      [EnvInject] - Variables injected successfully.
      [EnvInject] - Unset unresolved 'module' variable.
      [workspace] $ /bin/sh -xe /tmp/hudson6773043052950121445.sh
      ++ find cpan firewall java jenkins logrotate memcached rpmbuild_setup spi_aws spi_ganglia spi_mysql spi_nrpe spi_puppet_setup spi_scripts spi_sudoers spi_unified_provisioner spi_users spi_vertical_homedir tarutils -newermt '\u0027' 10 minutes ago '\u0027' -iname '*.pp'
      find: I cannot figure out how to interpret `
      u0027' as a date or time

      I have tried all combinations of escaping that I can think of, and I still cannot seem to get an apostrophe to be put where I want it.

          [JENKINS-15429] Envinqect plugin not allowing proporties with \u0027 to be added

          Please could you check again?
          I tried it and all is OK.

          Gregory Boissinot added a comment - Please could you check again? I tried it and all is OK.

          I set to fix for now because I can't reproduce it.
          Thanks

          Gregory Boissinot added a comment - I set to fix for now because I can't reproduce it. Thanks

            gbois Gregory Boissinot
            wizard113 wizard113
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: