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-sb-devops
Commits
73818c00
Unverified
Commit
73818c00
authored
6 years ago
by
Keshav Prasad
Committed by
GitHub
6 years ago
Browse files
Options
Download
Patches
Plain Diff
Type and message text change
parent
061a5af5
shared-lib_627aacd
shared-lib
release-3.4.0-shared-lib
release-2.7.0-shared-lib
release-2.6.0-shared-lib
release-2.5.0-shared-lib
release-2.4.0-shared-lib
release-2.0.0-shared-lib
release-1.15.0-shared-lib
release-1.15-shared-lib-interim
release-1.14.0-shared-lib
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vars/deployed_versions.groovy
+2
-4
vars/deployed_versions.groovy
with
2 additions
and
4 deletions
+2
-4
vars/deployed_versions.groovy
+
2
−
4
View file @
73818c00
...
@@ -3,8 +3,6 @@ def call() {
...
@@ -3,8 +3,6 @@ def call() {
String
ANSI_GREEN
=
"\u001B[32m"
String
ANSI_GREEN
=
"\u001B[32m"
String
ANSI_NORMAL
=
"\u001B[0m"
String
ANSI_NORMAL
=
"\u001B[0m"
String
ANSI_BOLD
=
"\u001B[1m"
String
ANSI_BOLD
=
"\u001B[1m"
String
ANSI_RED
=
"\u001B[31m"
String
ANSI_YELLOW
=
"\u001B[33m"
stage
(
'check upstream'
)
{
stage
(
'check upstream'
)
{
values
=
[:]
values
=
[:]
...
@@ -29,7 +27,7 @@ def call() {
...
@@ -29,7 +27,7 @@ def call() {
mkdir -p ${JENKINS_HOME}/summary/${envDir}
mkdir -p ${JENKINS_HOME}/summary/${envDir}
touch -a ${JENKINS_HOME}/summary/${envDir}/summary.txt
touch -a ${JENKINS_HOME}/summary/${envDir}/summary.txt
sed -i "s/${jobName}.*//g" ${JENKINS_HOME}/summary/${envDir}/summary.txt
sed -i "s/${jobName}.*//g" ${JENKINS_HOME}/summary/${envDir}/summary.txt
sed -i "/^\\\$/d" ${JENKINS_HOME}/summary/$envDir}/summary.txt
sed -i "/^\\\$/d" ${JENKINS_HOME}/summary/$
{
envDir}/summary.txt
"""
"""
if
(
module
==
"Core"
)
{
if
(
module
==
"Core"
)
{
...
@@ -47,7 +45,7 @@ def call() {
...
@@ -47,7 +45,7 @@ def call() {
"""
"""
}
}
}
else
}
else
println
"This job can be only triggered from an upstream project."
println
(
ANSI_BOLD
+
ANSI_GREEN
+
"This job can be only triggered from an upstream project."
+
ANSI_NORMAL
)
}
}
stage
(
'Archive artifacts'
)
{
stage
(
'Archive artifacts'
)
{
...
...
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