Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanayut Seethongchuen committed Sep 11, 2023
1 parent 3b59566 commit ab83a64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cicd/build/jenkins_build_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ echo "(DEBUG) jenkin job's env variables:"
echo "(DEBUG) \- WORKSPACE: $WORKSPACE"
echo "(DEBUG) end"

# use docker config on our WORKSPACE area, avoid replace default creds in ~/.docker that many pipeline depend on it
export DOCKER_CONFIG=$PWD/docker_login

export CI_CRABSERVER_REPO=${CI_CRABSERVER_REPO:-https://github.com/dmwm/CRABServer.git}
export CI_CRABSERVER_BRANCH=${CI_CRABSERVER_BRANCH:-master}
git clone "${CI_CRABSERVER_REPO}" -b "${CI_CRABSERVER_BRANCH}" CRABServer
cd CRABServer/Docker

# use docker config on our WORKSPACE area, avoid replace default creds in ~/.docker that many pipeline depend on it
export DOCKER_CONFIG=$PWD/docker_login

#replace where RPMs are stored
sed -i.bak -e "/export REPO=*/c\export REPO=comp.crab_${BRANCH}" install.sh
echo "(DEBUG) diff dmwm/CRABServer/Docker/install.sh"
Expand Down

0 comments on commit ab83a64

Please sign in to comment.