Update jenkinsfile
This commit is contained in:
parent
2631fe0f39
commit
4cdcb54f2e
1 changed files with 2 additions and 5 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -20,14 +20,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
steps {
|
steps {
|
||||||
|
load "/acmvn"
|
||||||
script {
|
script {
|
||||||
sh '''
|
sh '''
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
chmod +x /acmvn
|
|
||||||
/acmvn
|
|
||||||
echo "MVN USERNAME : $MVN_USER"
|
|
||||||
|
|
||||||
git clean -xfd
|
git clean -xfd
|
||||||
git reset --hard
|
git reset --hard
|
||||||
git fetch
|
git fetch
|
||||||
|
@ -51,4 +48,4 @@ pipeline {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue