This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new fcef5f6  try to get a buildstamp for master builds
fcef5f6 is described below

commit fcef5f6f4be1e8f9f00e87949d4ecf15e392cb20
Author: Eric Barboni <[email protected]>
AuthorDate: Mon Apr 8 16:56:27 2019 +0200

    try to get a buildstamp for master builds
---
 buildscripts/conveniences/Jenkinsfile-master.groovy       | 2 +-
 buildscripts/conveniences/Jenkinsfile-maven-master.groovy | 2 +-
 buildscripts/conveniences/generatebuildscript.sh          | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/buildscripts/conveniences/Jenkinsfile-master.groovy 
b/buildscripts/conveniences/Jenkinsfile-master.groovy
index a8dd571..0530e32 100644
--- a/buildscripts/conveniences/Jenkinsfile-master.groovy
+++ b/buildscripts/conveniences/Jenkinsfile-master.groovy
@@ -8,7 +8,7 @@ pipeline {
       pollSCM('H/5 * * * * ')
    }
    environment {
-     buildnumber = ${BUILD_TIMESTAMP} 
+     buildnumber = "${BUILD_TIMESTAMP}" 
    }
    tools {
       maven 'Maven 3.3.9'
diff --git a/buildscripts/conveniences/Jenkinsfile-maven-master.groovy 
b/buildscripts/conveniences/Jenkinsfile-maven-master.groovy
index 1e51d8f..b4f0ac2 100644
--- a/buildscripts/conveniences/Jenkinsfile-maven-master.groovy
+++ b/buildscripts/conveniences/Jenkinsfile-maven-master.groovy
@@ -8,7 +8,7 @@ pipeline {
       pollSCM('H/5 * * * * ')
    }
    environment {
-     buildnumber = ${BUILD_TIMESTAMP} 
+     buildnumber = "${BUILD_TIMESTAMP}" 
    }
    tools {
       maven 'Maven 3.3.9'
diff --git a/buildscripts/conveniences/generatebuildscript.sh 
b/buildscripts/conveniences/generatebuildscript.sh
index 3a76d4c..6c86e47 100644
--- a/buildscripts/conveniences/generatebuildscript.sh
+++ b/buildscripts/conveniences/generatebuildscript.sh
@@ -48,13 +48,13 @@ def 
write_pipelinebasic(afile,scm,jdktool,maventool,anttool,buildnumber):
   afile.write("   }\n")
   afile.write("   environment {\n")
   if buildnumber=='':
-      afile.write("     buildnumber = ${BUILD_TIMESTAMP} \n")
+      afile.write('     buildnumber = "${BUILD_TIMESTAMP}" \n')
   else:
-      afile.write("     buildnumber = "+buildnumber+"\n") 
+      afile.write("     buildnumber = "+buildnumber+"\n")
   afile.write("   }\n")
   afile.write("   tools {\n")
   afile.write("      maven '"+maventool+"'\n")
-  afile.write("      jdk '"+jdktool+"'\n") 
+  afile.write("      jdk '"+jdktool+"'\n")
   afile.write("   }\n")
   afile.write("   stages {\n")
   afile.write("      stage('Informations') {\n")
@@ -64,7 +64,7 @@ def 
write_pipelinebasic(afile,scm,jdktool,maventool,anttool,buildnumber):
   afile.write("      }\n")
 
 def write_pipelinecheckout(afile,scm):
-  afile.write("      stage('SCM operation') {\n") 
+  afile.write("      stage('SCM operation') {\n")
   afile.write("          steps {\n")
   afile.write("              echo 'clean up netbeans sources'\n")
   afile.write("              sh 'rm -rf netbeanssources'\n")


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to