From 02d7638eda4000f3655d535c89680a3fcebf2855 Mon Sep 17 00:00:00 2001 From: Stefan Benten Date: Tue, 29 Dec 2020 15:56:36 +0100 Subject: [PATCH] Jenkinsfile.public: specify main branch for docker build Docker build defaults to the master branch, when specifying a git repo. With this change, it should be smart enough to use the proper main branch. --- Jenkinsfile.public | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile.public b/Jenkinsfile.public index 8160c55c2..4c24993e7 100644 --- a/Jenkinsfile.public +++ b/Jenkinsfile.public @@ -2,7 +2,7 @@ pipeline { agent { docker { label 'main' - image docker.build("storj-ci", "--pull https://github.com/storj/ci.git").id + image docker.build("storj-ci", "--pull git://github.com/storj/ci.git#main").id args '-u root:root --cap-add SYS_PTRACE -v "/tmp/gomod":/go/pkg/mod -v "/tmp/npm":/npm --tmpfs "/tmp:exec,mode=777"' } }