Unverified Commit 73818c00 authored by Keshav Prasad's avatar Keshav Prasad Committed by GitHub
Browse files

Type and message text change

Showing with 2 additions and 4 deletions
+2 -4
...@@ -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') {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment