Код: Выделить всё
Started by user David
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is disabled by the job configuration...
The recommended git tool is: NONE
using credential 832fff45-8826-4a94-8086-ac05d57c881f
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository http://192.168.1.200:32785/david/Dolibarr16.0.3.git
> git init /var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas # timeout=10
Fetching upstream changes from http://192.168.1.200:32785/david/Dolibarr16.0.3.git
> git --version # timeout=10
> git --version # 'git version 2.39.2'
using GIT_ASKPASS to set credentials Credenciales Bonobo GIT Server
> git fetch --tags --force --progress -- http://192.168.1.200:32785/david/Dolibarr16.0.3.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url http://192.168.1.200:32785/david/Dolibarr16.0.3.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url http://192.168.1.200:32785/david/Dolibarr16.0.3.git # timeout=10
Pruning obsolete local tags that do not exist on remotes
> git show-ref --tags -d # timeout=10
using GIT_ASKPASS to set credentials Credenciales Bonobo GIT Server
> git ls-remote -t -- http://192.168.1.200:32785/david/Dolibarr16.0.3.git # timeout=10
Fetching upstream changes from http://192.168.1.200:32785/david/Dolibarr16.0.3.git
using GIT_ASKPASS to set credentials Credenciales Bonobo GIT Server
> git fetch --tags --force --progress -- http://192.168.1.200:32785/david/Dolibarr16.0.3.git +refs/tags/testing-*:refs/remotes/tags/testing-* # timeout=10
Seen branch in repository origin/BancosQ43
Seen branch in repository origin/Devolucion_Remesa
Seen branch in repository origin/Domiciliacion_Proveedores_Transferencia_Clientes
Seen branch in repository origin/LiquidacionIVA
Seen branch in repository origin/andorra
Seen branch in repository origin/controlling
Seen branch in repository origin/integrar_limpio_master
Seen branch in repository origin/limpio
Seen branch in repository origin/list
Seen branch in repository origin/master
Seen branch in repository tags/testing-integrar_limpio_master-20250128-rc2
Seen 11 remote branches
> git show-ref --tags -d # timeout=10
Checking out Revision e298f2c538555d9855149faa03d5f6871f5982ea (refs/tags/testing-integrar_limpio_master-20250114-rc16)
> git config core.sparsecheckout # timeout=10
> git checkout -f e298f2c538555d9855149faa03d5f6871f5982ea # timeout=10
Commit message: "Autofix Psr to psr case sensitive"
> git rev-list --no-walk e298f2c538555d9855149faa03d5f6871f5982ea # timeout=10
No emails were triggered.
provisioning config files...
Could not find credentials [] for Dolibarr_Base_2003_Pruebas #43
copy managed file [dolibarr htaccess pruebas] to file:/var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas/.htaccess
[Dolibarr_Base_2003_Pruebas] $ /bin/sh -xe /tmp/jenkins744818615334550738.sh
+ bash -ex /var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas/jenkins-post-build.sh
+ case "$JOB_NAME" in
+ websites=("website1-pruebas" "website2-pruebas" "website3-pruebas" "website4-pruebas" "dwebsite5-pruebas")
+ workspace=/var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas
+ deploy_base_path=/var/www/html/dolibarr_2003_pruebas
+ deploy_dolibarr Pruebas 'websites[@]' /var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas /var/www/html/dolibarr_2003_pruebas
+ local job_type=Pruebas
+ websites=('website1-pruebas' 'website2-pruebas' 'website3-pruebas' 'website4-pruebas' 'dwebsite5-pruebas')
+ local websites
+ local workspace=/var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas
+ local deploy_base_path=/var/www/html/dolibarr_2003_pruebas
+ rsync -e 'ssh -i **** -o StrictHostKeyChecking=no' -rc -vi --delete --exclude /custom/contasol/exports /var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas/htdocs/ deploy_user@192.168.1.201:/var/www/html/dolibarr_2003_pruebas/htdocs
sending incremental file list
*deleting includes/Psr
sent 813,456 bytes received 2,328 bytes 543,856.00 bytes/sec
total size is 262,761,764 speedup is 322.10
+ for company in "${websites[@]}"
+ echo 'Copying .env file for website1-pruebas...'
Copying .env file for website1-pruebas...
+ [[ Pruebas == \P\r\u\e\b\a\s ]]
+ sed -i 's#{GIT_BRANCH}#refs/tags/testing-integrar_limpio_master-20250114-rc16#g' /var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas/website1_pruebas.env
+ scp -i **** /var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas/website1_pruebas.env deploy_user@192.168.1.201:/var/www/html/dolibarr_2003_pruebas/website1_pruebas.env
+ for company in "${websites[@]}"
+ echo 'Copying .env file for website2-pruebas...'
Copying .env file for website2-pruebas...
+ [[ Pruebas == \P\r\u\e\b\a\s ]]
+ sed -i 's#{GIT_BRANCH}#refs/tags/testing-integrar_limpio_master-20250114-rc16#g' /var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas/website2_pruebas.env
+ scp -i **** /var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas/website2_pruebas.env deploy_user@192.168.1.201:/var/www/html/dolibarr_2003_pruebas/website2_pruebas.env
+ for company in "${websites[@]}"
+ echo 'Copying .env file for website3-pruebas...'
Copying .env file for website3-pruebas...
+ [[ Pruebas == \P\r\u\e\b\a\s ]]
+ sed -i 's#{GIT_BRANCH}#refs/tags/testing-integrar_limpio_master-20250114-rc16#g' /var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas/website3_pruebas.env
+ scp -i **** /var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas/website3_pruebas.env deploy_user@192.168.1.201:/var/www/html/dolibarr_2003_pruebas/website3_pruebas.env
+ for company in "${websites[@]}"
+ echo 'Copying .env file for website4-pruebas...'
Copying .env file for website4-pruebas...
+ [[ Pruebas == \P\r\u\e\b\a\s ]]
+ sed -i 's#{GIT_BRANCH}#refs/tags/testing-integrar_limpio_master-20250114-rc16#g' /var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas/website4_pruebas.env
+ scp -i **** /var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas/website4_pruebas.env deploy_user@192.168.1.201:/var/www/html/dolibarr_2003_pruebas/website4_pruebas.env
+ for company in "${websites[@]}"
+ echo 'Copying .env file for dwebsite5-pruebas...'
Copying .env file for dwebsite5-pruebas...
+ [[ Pruebas == \P\r\u\e\b\a\s ]]
+ sed -i 's#{GIT_BRANCH}#refs/tags/testing-integrar_limpio_master-20250114-rc16#g' /var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas/dwebsite5_pruebas.env
+ scp -i **** /var/jenkins_home/workspace/Dolibarr_Base_2003_Pruebas/dolibarr_2003_pruebas/dwebsite5_pruebas.env deploy_user@192.168.1.201:/var/www/html/dolibarr_2003_pruebas/dwebsite5_pruebas.env
+ ssh -i **** -o StrictHostKeyChecking=no deploy_user@192.168.1.201
Pseudo-terminal will not be allocated because stdin is not a terminal.
Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-130-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Tue Jan 28 12:34:38 PM CET 2025
System load: 0.1 Processes: 121
Usage of /: 83.1% of 47.88GB Users logged in: 0
Memory usage: 44% IPv4 address for eth0: 192.168.1.201
Swap usage: 0%
* Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
just raised the bar for easy, resilient and secure K8s cluster deployment.
https://ubuntu.com/engage/secure-kubernetes-at-the-edge
Expanded Security Maintenance for Applications is not enabled.
128 updates can be applied immediately.
To see these additional updates run: apt list --upgradable
7 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm
New release '24.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Folder 'psr' exists.
Creating symlink 'Psr' to 'psr'...
[Gitea] do not publish assets due to source being no GiteaSCMSource
Email was triggered for: Success
Sending email for trigger: Success
Sending email to:
Finished: SUCCESS
У меня есть 2 псевдонима Git
Код: Выделить всё
ctt = "!create_testing_tag() { \
current_branch=$(git rev-parse --abbrev-ref HEAD); \
if [ \"$current_branch\" != master ]; then \
release_candidate_numbers=($(git tag -l \"testing-$current_branch-*\" | grep -oP \"(?
, которые в основном создают теги с датой имен ветвей и номером RC. У меня были некоторые проблемы с Jenkins, выбирая неправильный тег ранее, поэтому я сделал это так, чтобы только 1 тег остался в репозитории, однако это снова происходит. >
git tag -lКод: Выделить всё
production-FIX-20250128-r21
testing-integrar_limpio_master-20250128-rc2
< /code>
git show-ref --tags -dКод: Выделить всё
442c3a4c768987c4fb8586ac75e5e8db75b41f79 refs/tags/production-FIX-20250128-r21
f533be028ef17a7e3e8deba2db00e38f777d6c98 refs/tags/production-FIX-20250128-r21^{}
5f58e58fabf0f488672ea863055aedb5fa1a2dbf refs/tags/testing-integrar_limpio_master-20250128-rc2
cf37497a22d9bd6a2234256d94d3ce909d2fc128 refs/tags/testing-integrar_limpio_master-20250128-rc2^{}
< /code>
Why or how is the jenkins job selecting e298f2c538555d9855149faa03d5f6871f5982ea (refs/tags/testing-integrar_limpio_master-20250114-rc16)Подробнее здесь: https://stackoverflow.com/questions/793 ... eleted-tag
Мобильная версия