Skip to content

Commit

Permalink
Pipeline Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
satyamchaurasiapersistent committed Nov 20, 2022
1 parent d0a05bb commit 7c79ecb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
version: 2
version: '2.1'
orbs:
circleci-maven-release-orb: sonatype-nexus-community/[email protected]
jobs:
build:
docker:
Expand All @@ -12,9 +14,9 @@ jobs:
keys:
- v1-dependencies-{{ checksum "pom.xml" }}
- v1-dependencies-
- run: echo $GPG_ASC_BASE64 | base64 --decode | gpg --batch --no-tty --import --yes
- run: echo $GPG_ASC_BASE64NEW | base64 --decode | gpg --batch --no-tty --import --yes
- run: chmod u+x mvnw
- run: ./mvnw -s .circleci/maven.settings.xml clean verify
- run: ./mvnw -s .circleci/maven.settings.xml clean verify -X
- run: mvn help:evaluate -Dexpression=project.version -q -DforceStdout > target/version.txt
- save_cache:
paths:
Expand All @@ -40,7 +42,7 @@ jobs:
keys:
- v1-dependencies-{{ checksum "pom.xml" }}
- v1-dependencies-
- run: echo $GPG_ASC_BASE64 | base64 --decode | gpg --batch --no-tty --import --yes
- run: echo $GPG_ASC_BASE64NEW | base64 --decode | gpg --version --batch --no-tty --import --yes
- run: chmod u+x mvnw
- run: ./mvnw -s .circleci/maven.settings.xml clean deploy -DskipTests
- save_cache:
Expand Down
2 changes: 1 addition & 1 deletion .circleci/maven.settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<id>gpg</id>
<properties>
<gpg.executable>gpg</gpg.executable>
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
<gpg.passphrase>${env.GPG_PASSPHRASENEW}</gpg.passphrase>
</properties>
</profile>
</profiles>
Expand Down

0 comments on commit 7c79ecb

Please sign in to comment.