The "when" step is not working with the "withFolderProperties" on version 1.1

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      On the last version of plugin 1.1, there is an issue with the "withFolderProperties". This property when is used with the "When" block is returning always false.

       

      I have tested this simple script and always skip the stage. If I remove the "withFolderProperties" it works:

       

      pipeline{
          agent any
          stages{
          stage('Run ADFS'){
              when {
                  expression {
                      withFolderProperties

      {                                          return true;                                 }

                  }
             }
             steps

      {                        echo "hello"               }

           }

      }

       

       

       

            Assignee:
            Unassigned
            Reporter:
            Javier Raez
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: