Jenkins get wrong workspace

113 views
Skip to first unread message

Summer nguyen

unread,
Jul 26, 2016, 6:40:47 AM7/26/16
to Jenkins Users
Hello,
I am using Jenkins for deploying my web system . 
Jenkins meet my requirements . But I got some error while deployin the system. 

In the Project configuration, I configure the build to Execute the Shell :  /usr/local/jenkins_deploy/deploy.sh  $WORKSPACE/  . 

In the time I use it to deploy, Jenkins deploy using random  workspace : 

#Build 31: Building in workspace /var/lib/jenkins/jobs/PRODUCTION-worker_system/workspace@2 . ( Wrong , which makes our system down )
#Build 32 : Building in workspace /var/lib/jenkins/jobs/PRODUCTION-worker_system/workspace ( Right )


Note: I didn't check the option : Execute concurrent builds if necessary 
Do you have any idea ?

Thank you very much

Summer nguyen

unread,
Jul 26, 2016, 6:43:51 AM7/26/16
to Jenkins Users
Hello,
Sorry I miss some useful information . 
I use the the "promoted builds plugin" , and the Execute the shell is in the "Promoted Build When" . 

Thank you very much . 

Vào 17:40:47 UTC+7 Thứ Ba, ngày 26 tháng 7 năm 2016, Summer nguyen đã viết:
Reply all
Reply to author
Forward
0 new messages