-
a. build/run docker
docker build -t colynn/gitchekcout:v1 . docker run --rm -it colynn/git-checkout:v1 /bin/sh
-
b. then run commands as below in the container
export JENKINS_SLAVE_WORKSPACE=/home/jenkins/agent #自定义目录 export REPO_CNF='{"github.com":["oauth2",""]}' #repo auth info checkout.py --project-id 3 --stage-id 3 --publish-job-id 17 --scm-app-id 3 --app-name golang-app-demo --branch-url https://github.com/go-atomci/golang-app-demo.git --vcs-type git --build-path / --branch-name main
-
Notifications
You must be signed in to change notification settings - Fork 0
go-atomci/checkout
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
the image for the atomci checkout stage
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published