From 7eeefcdd20072485217c472c63742741f6e5030f Mon Sep 17 00:00:00 2001 From: Adina Iordache Date: Mon, 10 Apr 2023 14:24:15 +0300 Subject: [PATCH] chore(gha): remove Jenkinsfile (PEAA-1655) --- .github/workflows/main.yml | 10 ++++++++++ Jenkinsfile | 37 ------------------------------------- 2 files changed, 10 insertions(+), 37 deletions(-) delete mode 100644 Jenkinsfile diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2bdcd594f..838ef10b4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,6 +7,16 @@ on: - master jobs: + validate_first: + name: validate + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - name: ⬇️ Checkout repo + uses: actions/checkout@v2 + with: + fetch-depth: 100 + validate: name: Build and test runs-on: ubuntu-latest diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index d50c6a110..000000000 --- a/Jenkinsfile +++ /dev/null @@ -1,37 +0,0 @@ -// This Jenkinsfile uses the declarative syntax. If you need help, check: -// Overview and structure: https://jenkins.io/doc/book/pipeline/syntax/ -// For plugins and steps: https://jenkins.io/doc/pipeline/steps/ -// For Github integration: https://github.com/jenkinsci/pipeline-github-plugin -// For credentials: https://jenkins.io/doc/book/pipeline/jenkinsfile/#handling-credentials -// For credential IDs: https://ci.ts.sv/credentials/store/system/domain/_/ -// Docker: https://jenkins.io/doc/book/pipeline/docker/ -// Custom commands: https://github.com/Tradeshift/jenkinsfile-common/tree/master/vars -// Environment variables: env.VARIABLE_NAME - -pipeline { - agent any // Or you could make the whole job or certain stages run inside docker - triggers { - issueCommentTrigger('^retest$') - } - - stages { - stage('Clone') { - steps { - checkout scm - } - } - - //stage('Sonarqube') { - //when { - //anyOf { - //branch 'master' // Only run Sonarqube on master... - //changeRequest() // ... and PRs - //} - //} - //steps { - //sonarqube() - //} - //} - } -} -