aboutsummaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorMax Nanis2026-08-30 22:44:07 -0700
committerMax Nanis2026-08-30 22:44:07 -0700
commit90b2f1a3a2205ca1c926387e2e3cb8e877767698 (patch)
tree50fad07a4c1f6add8dc7b25bbfedeb7c5822472e /Jenkinsfile
parentee97ff88beeb18dea2b630f6c2c805a6f260ad4f (diff)
downloadgeneralresearch-90b2f1a3a2205ca1c926387e2e3cb8e877767698.tar.gz
generalresearch-90b2f1a3a2205ca1c926387e2e3cb8e877767698.zip
jenkins p5
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 55f2463..f7eefbd 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,10 +1,6 @@
pipeline {
agent any
- parameters {
- string(name: 'BRANCH', defaultValue: 'master', description: 'Branch to build')
- }
-
triggers {
cron('H */12 * * *')
pollSCM('H */6 * * *')
@@ -23,7 +19,7 @@ pipeline {
stage('Checkout') {
steps {
checkout scmGit(
- branches: [[name: "*/${params.BRANCH}"]],
+ branches: [[name: "*/${env.BRANCH_NAME}"]],
extensions: [ cloneOption(shallow: true) ],
userRemoteConfigs: [
[credentialsId: 'abdeb570-b708-44f3-b857-8a6b06ed9822',