Try fixing Jenkins.
This commit is contained in:
Vendored
+4
-2
@@ -15,13 +15,15 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
steps {
|
steps {
|
||||||
|
sh '''
|
||||||
|
set -eux
|
||||||
|
rm -rf ./* ./.git || true
|
||||||
|
'''
|
||||||
checkout scm
|
checkout scm
|
||||||
|
|
||||||
sh '''
|
sh '''
|
||||||
set -eux
|
set -eux
|
||||||
git reset --hard
|
git reset --hard
|
||||||
git clean -xffd
|
git clean -xffd
|
||||||
git status --porcelain
|
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user