Skip to content

Commit

Permalink
prueba webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinoSanchez00 committed Dec 27, 2024
1 parent f3f6842 commit f16ae43
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions jenkins/subir-Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,30 @@ pipeline {
}
}
}
stage('Instalar Docker') {
steps {
script {
echo "Instalando Docker..."
sh '''
# Add Docker's official GPG key:
apt-get update
apt-get install -y ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc

# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update

apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
'''
}
}
}
stage('Instalar Herramientas') {
steps {
sh """
Expand Down
2 changes: 1 addition & 1 deletion src/plantilla/Navegacion.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function Navegacion() {
<div classNameName='container'>
<nav className="navbar navbar-expand-lg navbar-dark bg-primary">
<div className="container-fluid">
<a className="navbar-brand" href="/">Sistema de Recursos Humano</a>
<a className="navbar-brand" href="/">Sistema de Recursos Humanos</a>
<button className="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span className="navbar-toggler-icon"></span>
</button>
Expand Down

0 comments on commit f16ae43

Please sign in to comment.