rebuild all

This commit is contained in:
wangdongjun
2026-03-05 22:43:04 +08:00
parent ca3092c685
commit 57085824b6

View File

@@ -28,14 +28,14 @@ node("height_A") {
switch(branch){
case 'developer' :
hostPort = 22
credentialsId = "scj-v3"
credentialsId = "root-with-key-ubu-70"
remoteHost = "192.168.42.127"
namespace = "scj-v3"
profile = "developer"
break;
case 'master':
hostPort = 22
credentialsId = "cyweb-dev"
credentialsId = "root-with-key-ubu-70"
remoteHost = "192.168.43.18"
namespace = "city-zhxy-school-deploy-v3"
profile = "deploy"
@@ -107,7 +107,7 @@ node("height_A") {
remote.host = "${remoteHost}"
remote.allowAnyHosts = true
withCredentials([sshUserPrivateKey(credentialsId: 'root-with-key-ubu-70', keyFileVariable: 'identity', passphraseVariable: '', usernameVariable: 'username')]) {
withCredentials([sshUserPrivateKey(credentialsId: "${credentialsId}", keyFileVariable: 'identity', passphraseVariable: '', usernameVariable: 'username')]) {
remote.user = "${username}"
remote.port = hostPort
remote.identityFile = identity