The plugin does not support Pipeline projects for SCM Configuration 
filtering on RegEx.
I have created a change 
request: https://issues.jenkins-ci.org/browse/JENKINS-62233

mandag 4. mai 2020 11.51.52 UTC+2 skrev Sverre Moe følgende:
>
> According to documentation it should be possible.
>
> It would greatly reduce the Jenkins Configuration by Code in jenkins.yaml
> Not needing to list each and every jobs for each View, makes maintenace 
> much easier.
>
> This is my JCaC configuration that does not work:
>   - list:
>       columns:
>       - "jobName"
>       - "lastSuccess"
>       - "lastFailure"
>       - "lastDuration"
>       description: "<h3>systems builds</h3>\r\nContains projects under 
> systems namespace"
>       jobFilters:
>       - regExJobFilter:
>           includeExcludeTypeString: "includeMatched"
>           matchDisplayName: false
>           matchFullDisplayName: false
>           matchFullName: false
>           matchName: true
>           regex: "ssh://g...@git.company.com/systems/.*"
>           valueTypeString: "SCM"
>       name: "Systems"
>
> The JCaC would be difficult to maintain if I had to list each jobs in this 
> file for each view.
>
>
> tirsdag 7. april 2020 10.42.54 UTC+2 skrev Sverre Moe følgende:
>>
>> I am trying to get the Regular Expression Job Filter to work with SCM 
>> Configuration.
>>
>> Regular Expression: ssh://g...@git.company.com/various/.*
>> Match Value: Job SCM Configuration
>> Match Type: Include Matched
>>
>> But no jobs are listed in the View. I want it to list all jobs that have 
>> SCM configuration with the various namespace.
>> I have also tried with the following regular expressions
>> .*/various/.*
>> ./various/.
>>
>> According to documentation for the View Job Filter Plugin
>> SCM Configuration - this one is perhaps the best bang for the buck - put 
>> in something like "./my-office-name/." to automatically include all jobs 
>> that are organized under source control already by office.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9c9cafbb-b3f0-47b3-822e-94c722d743ad%40googlegroups.com.

Reply via email to