Skip to content

Commit

Permalink
Hotfix ETO-267: Change permission pipelines/unittests/build-update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
valeg-etendo committed Nov 30, 2023
1 parent 9825f62 commit 2957d61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pipelines/unittests/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pipeline {
JAVA_HOME = "/usr/lib/jvm/java-11-openjdk-amd64"
TOMCAT_URL = "https://archive.apache.org/dist/tomcat/tomcat-8/v8.5.75/bin/apache-tomcat-8.5.75.tar.gz"
TOMCAT_FOLDER = "apache-tomcat-8.5.75"
POSTGRES_VERSION = "16"
POSTGRES_VERSION = "14"
}

agent {
Expand Down Expand Up @@ -122,7 +122,6 @@ spec:
script {
try {
sh 'printenv'
sh 'chmod a+x ./pipelines/unittests/build-update.sh'
sh './pipelines/unittests/build-update.sh etendo_core pending "Starting build" $ACCESS_TOKEN $GIT_COMMIT $BUILD_URL'
sh "wget -O apache-tomcat.tar.gz $TOMCAT_URL"
sh "tar -xvf apache-tomcat.tar.gz -C $WORKSPACE"
Expand Down Expand Up @@ -379,7 +378,6 @@ spec:
git config user.name "$GIT_USERNAME"
git config user.email "$GIT_USERNAME"
"""
sh './pipelines/unittests/build-update.sh etendo_core pending "Deploying snapshot" $ACCESS_TOKEN $GIT_COMMIT $BUILD_URL'
sh 'echo version.ts=\$(date +\"%s\") > version.properties'
sh './gradlew publishCoreJar --info'
sh 'git tag \"v\$(grep version.ts version.properties|cut -c 11-)\" -m \"Release SNAPSHOT \$(grep version.tag version.properties|cut -c 13-)\"'
Expand Down
Empty file modified pipelines/unittests/build-update.sh
100644 → 100755
Empty file.

0 comments on commit 2957d61

Please sign in to comment.