Prune out all stc jobs and release build check jobs for non-LTS releases

Change-Id: I749783fa68e7481372f5e422a81fd31faab07091
diff --git a/jjb/onos/onos-verify.yaml b/jjb/onos/onos-verify.yaml
index b504c7b..d4b0050 100644
--- a/jjb/onos/onos-verify.yaml
+++ b/jjb/onos/onos-verify.yaml
@@ -74,8 +74,8 @@
                  branch-pattern: '**/{stream}'
              #file-paths: '{obj:gerrit_trigger_file_paths}'
 
-- daily_boiler_plate: &daily_boiler_plate
-    name: daily_boiler_plate
+- weekly_boiler_plate: &weekly_boiler_plate
+    name: weekly_boiler_plate
 
     concurrent: true
 
@@ -91,7 +91,7 @@
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
 
     triggers:
-      - timed: '@daily'
+      - timed: '@weekly'
 
 # FIXME - there is a Slack integration plugin in 2.0.3
     publishers:
@@ -122,8 +122,8 @@
 
 
 
-- hourly_boiler_plate_with_slack: &hourly_boiler_plate_with_slack
-    name: hourly_boiler_plate_with_slack
+- weekly_boiler_plate_with_slack: &weekly_boiler_plate_with_slack
+    name: weekly_boiler_plate_with_slack
 
     concurrent: true
 
@@ -139,7 +139,7 @@
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
 
     triggers:
-      - timed: '@hourly'
+      - timed: '@weekly'
 
 # FIXME - there is a Slack integration plugin in 2.0.3
     publishers:
@@ -168,26 +168,6 @@
               <customMessage/>
             </jenkins.plugins.slack.SlackNotifier>
 
-- hourly_boiler_plate: &hourly_boiler_plate
-    name: hourly_boiler_plate
-
-    concurrent: true
-
-    scm:
-      - lf-infra-gerrit-scm:
-          git-url: '{git-url}'
-          refspec: '$GERRIT_REFSPEC'
-          branch: '$GERRIT_BRANCH'
-          submodule-disable: '{submodule-disable}'
-          submodule-recursive: '{submodule-recursive}'
-          submodule-timeout: '{submodule-timeout}'
-          choosing-strategy: gerrit
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-
-# runs every 4 hours
-    triggers:
-      - timed: 'H 4,8,12,16,20 * * *'
-
 - release_build_boiler_plate: &release_build_boiler_plate
     name: release_build_boiler_plate
 
@@ -449,7 +429,7 @@
 
     <<: *job_boiler_plate
     # yamllint disable-line rule:key-duplicates
-    <<: *daily_boiler_plate
+    <<: *weekly_boiler_plate
 
     builders:
       - config-file-provider:
@@ -582,7 +562,7 @@
 
     <<: *job_boiler_plate
     # yamllint disable-line rule:key-duplicates
-    <<: *hourly_boiler_plate_with_slack
+    <<: *weekly_boiler_plate_with_slack
 
     builders:
     #put shell scripts in file then make sure shell check is installed on verify vms
@@ -596,7 +576,7 @@
 
     <<: *job_boiler_plate
     # yamllint disable-line rule:key-duplicates
-    <<: *daily_boiler_plate
+    <<: *weekly_boiler_plate
 
     builders:
     #put shell scripts in file then make sure shell check is installed on verify vms
@@ -605,88 +585,6 @@
       # JJB 1.6.2 does not support parameter expansion on filename?
       #- shell: !include-raw-escape: {project-name}-verify.sh
 
-- job-template:
-    name: 'onos-{stream}-stc-verify'
-
-    <<: *job_boiler_plate
-    # yamllint disable-line rule:key-duplicates
-    <<: *hourly_boiler_plate
-
-    builders:
-    #put shell scripts in file then make sure shell check is installed on verify vms
-      - shell: !include-raw-escape: onos-run-stc.sh
-
-- job-template:
-    name: 'onos-{stream}-bazel-stc-verify'
-
-    <<: *job_boiler_plate
-    # yamllint disable-line rule:key-duplicates
-    <<: *hourly_boiler_plate
-
-    builders:
-    #put shell scripts in file then make sure shell check is installed on verify vms
-      - shell: !include-raw-escape: install-bazel.sh
-      - shell: !include-raw-escape: onos-run-bazel-stc.sh
-
-
-- job-template:
-    name: 'onos-{stream}-stc-app-activate-all'
-
-    <<: *job_boiler_plate
-    # yamllint disable-line rule:key-duplicates
-    <<: *hourly_boiler_plate
-
-    builders:
-    #put shell scripts in file then make sure shell check is installed on verify vms
-      - shell: !include-raw-escape: install-bazel.sh
-      - shell: !include-raw-escape: onos-run-app-activate-all-stc.sh
-
-
-- job-template:
-    name: 'onos-{stream}-stc-hag-verify'
-
-    <<: *job_boiler_plate
-    # yamllint disable-line rule:key-duplicates
-    <<: *hourly_boiler_plate
-
-    builders:
-    #put shell scripts in file then make sure shell check is installed on verify vms
-      - shell: !include-raw-escape: onos-run-stc-hag.sh
-
-
-- job-template:
-    name: 'onos-{stream}-bazel-stc-hag-verify'
-
-    <<: *job_boiler_plate
-    # yamllint disable-line rule:key-duplicates
-    <<: *hourly_boiler_plate
-
-    builders:
-    #put shell scripts in file then make sure shell check is installed on verify vms
-      - shell: !include-raw-escape: install-bazel.sh
-      - shell: !include-raw-escape: onos-run-bazel-stc-hag.sh
-
-- job-template:
-    name: 'onos-{stream}-bazel-stc-trellis-p4-verify'
-
-    <<: *job_boiler_plate
-    # yamllint disable-line rule:key-duplicates
-    <<: *hourly_boiler_plate
-
-    builders:
-    #put shell scripts in file then make sure shell check is installed on verify vms
-      - shell: !include-raw-escape: install-bazel.sh
-      - shell: !include-raw-escape: onos-run-bazel-stc-trellis-p4.sh
-    publishers:
-      - raw:
-          xml: |
-              <hudson.tasks.Mailer plugin="mailer@1.21">
-                 <recipients>carmelo@opennetworking.org</recipients>
-                 <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
-                 <sendToIndividuals>false</sendToIndividuals>
-              </hudson.tasks.Mailer>
-
-
 - project:
     name: onos
     project-name: onos
@@ -817,10 +715,9 @@
 
     stream:
       - 'master'
-      - 'onos-2.0'
-      - 'onos-2.1'
+      - 'onos-2.3'
+      - 'onos-2.2'
       - 'onos-1.15'
-      - 'onos-1.13'
       - 'onos-1.12'
 
     jobs:
@@ -836,7 +733,6 @@
 
     stream:
       - 'onos-1.12'
-      - 'onos-1.13'
 
     jobs:
       - 'onos-{stream}-maven-verify'
@@ -894,95 +790,3 @@
     jobs:
       - 'onos-docker-build'
 
-- project:
-    name: onos-stc-verify
-    project-name: onos-stc-verify
-    project: onos
-
-    build-timeout: '60'
-    build-node: 'ubuntu16.04-basebuild-8c-15g'
-
-    stream:
-      - 'onos-1.12'
-      - 'onos-1.13'
-      - 'onos-1.14'
-
-    jobs:
-      - 'onos-{stream}-stc-verify'
-
-- project:
-    name: onos-bazel-stc-verify
-    project-name: onos-bazel-stc-verify
-    project: onos
-
-    build-timeout: '60'
-    build-node: 'ubuntu16.04-basebuild-8c-15g'
-
-    stream:
-      - 'master'
-      - 'onos-2.1'
-      - 'onos-2.0'
-
-    jobs:
-      - 'onos-{stream}-bazel-stc-verify'
-
-- project:
-    name: onos-stc-hag-verify
-    project-name: onos-stc-hag-verify
-    project: onos
-
-    build-timeout: '60'
-    build-node: 'ubuntu16.04-basebuild-8c-15g'
-
-    stream:
-      - 'onos-1.12'
-      - 'onos-1.13'
-      - 'onos-1.14'
-
-    jobs:
-      - 'onos-{stream}-stc-hag-verify'
-
-- project:
-    name: onos-bazel-stc-hag-verify
-    project-name: onos-bazel-stc-hag-verify
-    project: onos
-
-    build-timeout: '60'
-    build-node: 'ubuntu16.04-basebuild-8c-15g'
-
-    stream:
-      - 'master'
-      - 'onos-2.1'
-      - 'onos-2.0'
-
-    jobs:
-      - 'onos-{stream}-bazel-stc-hag-verify'
-
-- project:
-    name: onos-bazel-stc-trellis-p4-verify
-    project-name: onos-bazel-stc-trellis-p4-verify
-    project: onos
-
-    build-timeout: '60'
-    build-node: 'ubuntu16.04-basebuild-8c-15g'
-
-    stream:
-      - 'onos-2.1'
-      - 'master'
-
-    jobs:
-      - 'onos-{stream}-bazel-stc-trellis-p4-verify'
-
-- project:
-    name: onos-stc-app-activate-all-verify
-    project-name: onos-stc-app-activate-all-verify
-    project: onos
-
-    build-timeout: '120'
-    build-node: 'ubuntu16.04-basebuild-8c-15g'
-
-    stream:
-      - 'master'
-      
-    jobs:
-      - 'onos-{stream}-stc-app-activate-all'