diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index f003b41f..00000000 --- a/Jenkinsfile +++ /dev/null @@ -1,34 +0,0 @@ -pipeline { - agent any - tools { - maven 'Maven' - jdk 'Open 9 - JDK 11' - } - stages { - stage('Minify') { - steps { - nodejs(nodeJSInstallationName: 'Node 14.x') { - sh 'npm install' - sh 'npm ci' - sh './minify' - } - } - } - stage('Build Jars') { - steps { - withSonarQubeEnv('SonarQube') { - sh 'mvn clean install pmd:pmd checkstyle:checkstyle spotbugs:spotbugs sonar:sonar' - } - } - } - } - post { - success { - sh "curl -s -X POST https://api.telegram.org/bot1302374772:AAFdOH2GGdRsOxuBREQfKo9fU0IQNl6Q7sY/sendMessage -d chat_id=1041081317 -d text=\"SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})\"" - } - - failure { - sh "curl -s -X POST https://api.telegram.org/bot1302374772:AAFdOH2GGdRsOxuBREQfKo9fU0IQNl6Q7sY/sendMessage -d chat_id=1041081317 -d text=\"FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})\"" - } - } -} \ No newline at end of file