From 53518e35164dedb781da6fd121a0928e73ccfab9 Mon Sep 17 00:00:00 2001 From: Apostolof Date: Sat, 9 May 2020 14:46:13 +0300 Subject: [PATCH] Remove jobs, Remove nodejs tool --- jenkins/groovy/nodejs.groovy | 26 ---- jenkins/jobs/apella-staging/config.xml | 120 ------------------ .../config.xml | 47 ------- jenkins/jobs/testNodeJS/config.xml | 35 ----- 4 files changed, 228 deletions(-) delete mode 100644 jenkins/groovy/nodejs.groovy delete mode 100644 jenkins/jobs/apella-staging/config.xml delete mode 100644 jenkins/jobs/staging-apella-multibranch-pipeline2/config.xml delete mode 100644 jenkins/jobs/testNodeJS/config.xml diff --git a/jenkins/groovy/nodejs.groovy b/jenkins/groovy/nodejs.groovy deleted file mode 100644 index cd10712..0000000 --- a/jenkins/groovy/nodejs.groovy +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env groovy -import hudson.tools.InstallSourceProperty -import jenkins.model.Jenkins -import jenkins.plugins.nodejs.tools.NodeJSInstallation -import jenkins.plugins.nodejs.tools.NodeJSInstaller -import static jenkins.plugins.nodejs.tools.NodeJSInstaller.DEFAULT_NPM_PACKAGES_REFRESH_HOURS - -final versions = [ - 'NodeJS 13.x': '13.10.1', - 'NodeJS 12.x': '12.16.1' -] - -final globalPackages = "eslint@~6.8.0 truffle@~5.1.18" - -Jenkins.instance.getDescriptor(NodeJSInstallation).with { - installations = versions.collect { - new NodeJSInstallation(it.key, null, [ - new InstallSourceProperty([ - new NodeJSInstaller( - it.value, - globalPackages, - DEFAULT_NPM_PACKAGES_REFRESH_HOURS) - ]) - ]) - } as NodeJSInstallation[] -} \ No newline at end of file diff --git a/jenkins/jobs/apella-staging/config.xml b/jenkins/jobs/apella-staging/config.xml deleted file mode 100644 index 28f0ad0..0000000 --- a/jenkins/jobs/apella-staging/config.xml +++ /dev/null @@ -1,120 +0,0 @@ - - - - false - - - - apella - - - - - gitlabSourceBranch - - master - false - - - gitlabTargetBranch - - master - false - - - - - - - - false - - false - - true - true - true - true - - - - 2 - - - git@gitlab.com:Apostolof/testapella.git - gitlab-ssh-key - - - - - origin/${gitlabSourceBranch} - - - false - - - - - origin - ${gitlabTargetBranch} - default - FF - - - - - true - false - false - false - - - - true - true - false - false - false - false - never - false - Jenkins please retry a build - true - true - true - All - - - - - {AQAAABAAAAAQaN91UOqWLcMzvwxv5X3jhRSWceLHBxXjS/TMSxzNclQ=} - - false - - - false - - - - \ No newline at end of file diff --git a/jenkins/jobs/staging-apella-multibranch-pipeline2/config.xml b/jenkins/jobs/staging-apella-multibranch-pipeline2/config.xml deleted file mode 100644 index 517334a..0000000 --- a/jenkins/jobs/staging-apella-multibranch-pipeline2/config.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - true - -1 - -1 - - - false - - - - - 898b94b0-0abb-4e1d-8730-a6de8c8d1188 - git@gitlab.com:Apostolof/testapella.git - gitlab-ssh-key - - - - - - - - - - - - - - Jenkinsfile - - \ No newline at end of file diff --git a/jenkins/jobs/testNodeJS/config.xml b/jenkins/jobs/testNodeJS/config.xml deleted file mode 100644 index 5a49a37..0000000 --- a/jenkins/jobs/testNodeJS/config.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - false - - - - apella - - - - true - false - false - false - - false - - - echo $PATH -node --version -npm --version -npm eslint --version -truffle version - - - - - - NodeJS 13.x - - - - \ No newline at end of file