[JIRA] (JENKINS-37914) Many Times JENKINS_HOME is Invalid
Title: Message Title zhao wu commented on JENKINS-37914 Re: Many Times JENKINS_HOME is Invalid thanks Mark Waite it's working node("master") { // Insert your steps here } Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37914) Many Times JENKINS_HOME is Invalid
Title: Message Title zhao wu commented on JENKINS-37914 Re: Many Times JENKINS_HOME is Invalid Mark Waite i was in master node,but some time i get this log, Running on alpha_service01 in /home/jhd/jenkins/workspace/alpha_service01_customer_service alpha_service01 is Remote node Jenkinsfile node { def subjectMessage = "" def failMessage = "" try { stage 'Checkout' sh "pwd" git credentialsId: 'ssh', url: 'git@172.16.61.211:service/xxx.git' stage 'Build' sh "/usr/local/maven/apache-maven-3.3.9/bin/mvn -Dmaven.test.skip=true clean package -P alpha" stage 'stash' stash includes: 'xxx/target/*.war', name:'xxx.war' node('alpha_service01') { stage 'unstash' unstash 'xxx.war' writeFile encoding: 'utf-8', file: 'deploy.sh', text: '''#!/bin/bash //some code ''' stage 'Restart' sh "sh -x deploy.sh" } } catch (e) { throw e }finally { mail bcc: '', body: "Job '${env.JOB_NAME}' (${env.BUILD_NUMBER}) ${env.BUILD_URL}", cc: '', from: '', replyTo: '', subject: message, to: 'xxx' } } Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issue
[JIRA] (JENKINS-37914) Many Times JENKINS_HOME is Invalid
Title: Message Title zhao wu updated an issue Jenkins / JENKINS-37914 Many Times JENKINS_HOME is Invalid Change By: zhao wu Attachment: 1.png Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37914) Many Times JENKINS_HOME is Invalid
Title: Message Title zhao wu created an issue Jenkins / JENKINS-37914 Many Times JENKINS_HOME is Invalid Issue Type: Bug Assignee: Mark Waite Attachments: QQ截图20160902110804.png Components: git-plugin, gitlab-hook-plugin Created: 2016/Sep/02 3:12 AM Environment: Jenkins 2.7.3/2.7.2 CentOS release 6.8 jdk1.7.0_79 Priority: Major Reporter: zhao wu Many Times, JENKINS_HOME is Invalid,myJENKINS_HOME is /home/jhd/.jenkins but some times i get /home/jhd/jenkins,when i try again, and is working,i get /home/jhd/.jenkins my Jenkinsfile Like this node { stage 'Checkout' sh "pwd" //some code node('xxx') { xxx } }