Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Jenkinsfile: remove alpine/git container
Browse files Browse the repository at this point in the history
  • Loading branch information
john-odonnell committed Jul 12, 2022
1 parent 3a22a03 commit 681f24c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,15 @@ pipeline {
}

steps {
// Clean up first
sh 'docker run -i --rm -v $PWD:/src -w /src alpine/git clean -fxd'
sh '''
# Clean up first
git clean -fxd
sh './publish.sh'
./publish.sh
// Clean up again...
sh 'docker run -i --rm -v $PWD:/src -w /src alpine/git clean -fxd'
# Clean up again...
git clean -fxd
'''
deleteDir()
}
}
Expand Down

0 comments on commit 681f24c

Please sign in to comment.