Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-smf-devops
Commits
25ef7140
Commit
25ef7140
authored
3 years ago
by
root
Browse files
Options
Download
Plain Diff
Merge branch 'master' of
https://git.idc.tarento.com/smf/smf-devops
parents
2865900e
6caf4a31
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pipelines/Jenkinsfile
+1
-1
pipelines/Jenkinsfile
with
1 addition
and
1 deletion
+1
-1
pipelines/Jenkinsfile
+
1
−
1
View file @
25ef7140
...
...
@@ -11,7 +11,7 @@ node() {
cleanWs
()
checkout
scm
commit_hash
=
sh
(
script:
'git rev-parse --short HEAD'
,
returnStdout:
true
).
trim
()
env
.
commit_id
=
sh
(
script:
"echo "
+
"
form
"
+
"_"
+
commit_hash
+
"_"
+
env
.
BUILD_NUMBER
,
returnStdout:
true
).
trim
()
env
.
commit_id
=
sh
(
script:
"echo "
+
"
nginx
"
+
"_"
+
commit_hash
+
"_"
+
env
.
BUILD_NUMBER
,
returnStdout:
true
).
trim
()
echo
"${env.commit_id}"
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets