Skip to content

Commit 6db6ccc

Browse files
Fixing publish task
1 parent d01a74e commit 6db6ccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ pipeline{
494494
post{
495495
success{
496496
node('dhfLinuxAgent'){
497-
sh 'export JAVA_HOME=`eval echo "$JAVA_HOME_DIR"`;export GRADLE_USER_HOME=$WORKSPACE$GRADLE_DIR;export M2_HOME=$MAVEN_HOME/bin;export PATH=$GRADLE_USER_HOME:$PATH:$MAVEN_HOME/bin;cd $WORKSPACE/data-hub;rm -rf $GRADLE_USER_HOME/caches;./gradlew clean;cp ~/.gradle/gradle.properties $GRADLE_USER_HOME;chmod 777 $GRADLE_USER_HOME/gradle.properties;./gradlew build -x test;./gradlew publish'
497+
sh 'export JAVA_HOME=`eval echo "$JAVA_HOME_DIR"`;export GRADLE_USER_HOME=$WORKSPACE$GRADLE_DIR;export M2_HOME=$MAVEN_HOME/bin;export PATH=$GRADLE_USER_HOME:$PATH:$MAVEN_HOME/bin;cd $WORKSPACE/data-hub;rm -rf $GRADLE_USER_HOME/caches;./gradlew clean;cp ~/.gradle/gradle.properties $GRADLE_USER_HOME;chmod 777 $GRADLE_USER_HOME/gradle.properties;./gradlew build -x test;./gradlew publish || true;'
498498
}
499499
}
500500
}

0 commit comments

Comments
 (0)