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

possibility to filter jobs by "Restrict where this project can be run"

      possibility to filter jobs by "Restrict where this project can be run"

      e.g. we have jobs with similar names. They basically do same thing but one is run on test environment and other on production. Thous environments are slaves and everything is run from one master. We want separate build histories for them. So we create separate jobs. There are lots of jobs so we are trying to split them in views.
      For now we split them by job name, but that isn't safe.

          [JENKINS-18399] possibility to filter jobs by "Restrict where this project can be run"

          Maris Zulis added a comment -

          Maris Zulis added a comment - this could be solved by combining JENKINS-18386 and https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin

          Code changed in jenkins
          User: jacob_robertson
          Path:
          src/main/java/hudson/views/MostRecentJobsFilter.java
          src/main/java/hudson/views/ParameterFilter.java
          src/main/java/hudson/views/RegExJobFilter.java
          src/main/resources/hudson/views/MostRecentJobsFilter/config.jelly
          src/main/resources/hudson/views/ParameterFilter/config.jelly
          src/main/resources/hudson/views/RegExJobFilter/config.jelly
          src/test/java/hudson/views/ParameterFilterTest.java
          http://jenkins-ci.org/commit/view-job-filters-plugin/b10005a320585ed2fa03d6b06064fdb53fa0019c
          Log:
          fixed JENKINS-18386, JENKINS-17597, JENKINS-17093, JENKINS-18399

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: jacob_robertson Path: src/main/java/hudson/views/MostRecentJobsFilter.java src/main/java/hudson/views/ParameterFilter.java src/main/java/hudson/views/RegExJobFilter.java src/main/resources/hudson/views/MostRecentJobsFilter/config.jelly src/main/resources/hudson/views/ParameterFilter/config.jelly src/main/resources/hudson/views/RegExJobFilter/config.jelly src/test/java/hudson/views/ParameterFilterTest.java http://jenkins-ci.org/commit/view-job-filters-plugin/b10005a320585ed2fa03d6b06064fdb53fa0019c Log: fixed JENKINS-18386 , JENKINS-17597 , JENKINS-17093 , JENKINS-18399

          Code changed in jenkins
          User: jacob_robertson
          Path:
          src/main/webapp/most-recent-help.html
          src/main/webapp/regex-help.html
          http://jenkins-ci.org/commit/view-job-filters-plugin/26f950ad6f7a5b599d0f1e859743e3aae92f2530
          Log:
          fixed JENKINS-18386, JENKINS-17597, JENKINS-17093, JENKINS-18399

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: jacob_robertson Path: src/main/webapp/most-recent-help.html src/main/webapp/regex-help.html http://jenkins-ci.org/commit/view-job-filters-plugin/26f950ad6f7a5b599d0f1e859743e3aae92f2530 Log: fixed JENKINS-18386 , JENKINS-17597 , JENKINS-17093 , JENKINS-18399

          Use the Regular expression filter to filter on the node expression.

          Jacob Robertson added a comment - Use the Regular expression filter to filter on the node expression.

            jacob_robertson Jacob Robertson
            mzulis Maris Zulis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: