Compare commits

..

20 commits

Author SHA1 Message Date
0706ffc360 Jenkinsfile
All checks were successful
multibranch.test2/pipeline/head This commit looks good
multi-1/pipeline/head This commit looks good
2025-10-13 16:15:47 -03:00
29675b08c9 Jenkinsfile
All checks were successful
multi-1/pipeline/head This commit looks good
multibranch.test2/pipeline/head This commit looks good
2025-10-13 16:10:27 -03:00
c9b8acef1d Jenkinsfile
All checks were successful
multi-1/pipeline/head This commit looks good
2025-10-13 16:07:34 -03:00
4cea066c10 Jenkinsfile 2025-10-13 15:53:24 -03:00
44a7588c6b Jenkinsfile
Some checks reported errors
multi-1/pipeline/head Something is wrong with the build of this commit
2025-10-13 14:13:19 -03:00
96a1da12d8 . 2025-10-09 16:40:11 -03:00
d93065f1fc Update Jenkinsfile 2025-10-09 16:08:08 -03:00
7037bf9911 Update Jenkinsfile 2025-10-09 15:52:08 -03:00
6a9a578080 Update Jenkinsfile 2025-10-09 15:49:50 -03:00
8b31ce4c5d Update Jenkinsfile 2025-10-09 15:46:03 -03:00
239cbd5bea Update Jenkinsfile 2025-10-09 15:45:12 -03:00
85af0ef6f5 Update Jenkinsfile 2025-10-09 15:36:36 -03:00
033461cf7e Update Jenkinsfile 2025-10-09 12:13:53 -03:00
31deb05118 Update Jenkinsfile 2025-10-08 10:16:29 -03:00
95b3b55fc0 Update Jenkinsfile 2025-10-08 10:15:04 -03:00
7dafa029b5 Update Jenkinsfile 2025-10-08 10:12:17 -03:00
f8387e7d68 Update Jenkinsfile 2025-10-08 10:04:08 -03:00
98637d1fdb Update Jenkinsfile 2025-10-07 16:42:02 -03:00
f656191979 Update Jenkinsfile 2025-10-07 13:48:30 -03:00
5665f72481 Update Jenkinsfile 2025-10-07 13:46:46 -03:00

51
Jenkinsfile vendored
View file

@ -1,49 +1,22 @@
pipeline {
agent any
environment {
IMAGE_NAME = 'rd.jenkins'
AWS_USER = 'liesa'
AWS_REPO = "${AWS_USER}/${IMAGE_NAME}"
AWS_URL = '231670719202.dkr.ecr.sa-east-1.amazonaws.com'
TAG = 'latest'
}
stages {
stage('Checkout (with submodules)') {
stage('Stage Test')
{
steps {
checkout(scmGit(
branches: [[name: '*/main']],
userRemoteConfigs: [[
url: 'https://stalked-noegenetic-amari.ngrok-free.dev/hermes/pl-1.git',
credentialsId: 'hermes-forgejo-local'
]]
))
}
}
stage('Build Image') {
steps {
script {
docker.build("${AWS_REPO}:${TAG}", '-f Dockerfile .')
}
}
}
stage('Push Image') {
steps {
sh '''
set -eu pipefail
aws ecr get-login-password --region sa-east-1 | docker login --username AWS --password-stdin $AWS_URL
'''
script {
docker.withRegistry("http://${AWS_URL}", 'ecr:sa-east-1:aws-prod') {
docker.image("${AWS_REPO}:${TAG}").push()
}
}
echo 'Un día me preguntaron qué es lo que quería...'
echo 'les contesté que Racing el domingo me dé una alegría...'
echo 'para poder festejar con toda la gente...'
echo 'Racing, mi buen amigo...'
}
}
}
}
//
//
//
//
//
//
//