mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
test jenkins
This commit is contained in:
parent
03c85c5112
commit
4adacd0698
1 changed files with 7 additions and 5 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -7,12 +7,14 @@ pipeline {
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Show the branch 1') {
|
stage('Show the branch 1') {
|
||||||
GIT_BRANCH_LOCAL = sh (
|
|
||||||
script: "echo $Branch | sed -e 's|origin/||g'",
|
|
||||||
returnStdout: true
|
|
||||||
).trim()
|
|
||||||
echo "Git branch: ${GIT_BRANCH_LOCAL}"
|
|
||||||
steps {
|
steps {
|
||||||
|
GIT_BRANCH_LOCAL = sh (
|
||||||
|
script: "echo $Branch | sed -e 's|origin/||g'",
|
||||||
|
returnStdout: true
|
||||||
|
).trim()
|
||||||
|
|
||||||
|
echo "Git branch: ${GIT_BRANCH_LOCAL}"
|
||||||
sh '/bin/true'
|
sh '/bin/true'
|
||||||
echo "BRANCH IS: ${env.BRANCH}"
|
echo "BRANCH IS: ${env.BRANCH}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue