diff --git a/Jenkinsfile b/Jenkinsfile index e2351757..ececf3ee 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,24 +1,21 @@ pipeline { - agent none + agent any stages { stage('checkout') { steps { - node (label: 'testing') { - checkout scm - fileExists ('README.md') - fileExists ('version.txt') - fileExists ('build.txt') - fileExists ('nonexistentFile.txt') - bat 'C:/GITTEMP/build.cmd' + node(label: 'testing') { + git(url: 'https://github.com/EpochModTeam/Epoch.git', branch: 'experimental') } + } } stage('release') { steps { - node (label: 'testing') { + node(label: 'testing') { bat 'C:/GITTEMP/release.cmd' } + } } } -} +} \ No newline at end of file