Skip to content

Commit

Permalink
Temporarily remove nightly publish & Fix PR build
Browse files Browse the repository at this point in the history
(turn off the .net check forcibly)

Signed-off-by: Matthew B White <[email protected]>
  • Loading branch information
mbwhite authored and jt-nti committed Feb 28, 2022
1 parent ff9e936 commit 5608879
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 20 deletions.
40 changes: 20 additions & 20 deletions ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,23 +207,23 @@ stages:
OSSRH_USER: $(OSSRH-User)
OSSRH_PASSWORD: $(OSSRH-Password)
#
- stage: Publish_tag_nightly
condition: and(succeeded('Build_and_test'), eq(variables['Build.Reason'], 'Schedule')) # only run on the scheduled builds
jobs:
- job: jar_publish
steps:
- template: templates/build-data.yml
- task: DownloadSecureFile@1
name: keyring
inputs:
secureFile: secring.gpg
- script: |
./gradlew -PNIGHTLY=true -Psigning.keyId=${SIGNING_ID} -Psigning.password=${SIGNING_PASSWORD} -Psigning.secretKeyRingFile=${KEYRING_FILE} -PartifactoryUsername=${ARTIFACTORY_USER} -PartifactoryhPassword=${ARTIFACTORY_PASSWORD} publishAllPublicationsToReleaseRepository
./gradlew -PNIGHTLY=true -Psigning.keyId=${SIGNING_ID} -Psigning.password=${SIGNING_PASSWORD} -Psigning.secretKeyRingFile=${KEYRING_FILE} -PartifactoryUsername=${ARTIFACTORY_USER} -PartifactoryhPassword=${ARTIFACTORY_PASSWORD} publishAllPublicationsToSnapshotRepository
env:
SIGNING_ID: $(JAR-Signing-Id)
SIGNING_PASSWORD: $(JAR-Signing-Password)
KEYRING_FILE: $(keyring.secureFilePath)
ARTIFACTORY_USER: $(ARTIFACTORY-User)
ARTIFACTORY_PASSWORD: $(ARTIFACTORY-Password)
# will re-enable when we get a proper userid/password
# - stage: Publish_tag_nightly
# condition: and(succeeded('Build_and_test'), eq(variables['Build.Reason'], 'Schedule')) # only run on the scheduled builds
# jobs:
# - job: jar_publish
# steps:
# - template: templates/build-data.yml
# - task: DownloadSecureFile@1
# name: keyring
# inputs:
# secureFile: secring.gpg
# - script: |
# ./gradlew -PNIGHTLY=true -Psigning.keyId=${SIGNING_ID} -Psigning.password=${SIGNING_PASSWORD} -Psigning.secretKeyRingFile=${KEYRING_FILE} -PartifactoryUsername=${ARTIFACTORY_USER} -PartifactoryhPassword=${ARTIFACTORY_PASSWORD} publishAllPublicationsToReleaseRepository
# ./gradlew -PNIGHTLY=true -Psigning.keyId=${SIGNING_ID} -Psigning.password=${SIGNING_PASSWORD} -Psigning.secretKeyRingFile=${KEYRING_FILE} -PartifactoryUsername=${ARTIFACTORY_USER} -PartifactoryhPassword=${ARTIFACTORY_PASSWORD} publishAllPublicationsToSnapshotRepository
# env:
# SIGNING_ID: $(JAR-Signing-Id)
# SIGNING_PASSWORD: $(JAR-Signing-Password)
# KEYRING_FILE: $(keyring.secureFilePath)
# ARTIFACTORY_USER: $(ARTIFACTORY-User)
# ARTIFACTORY_PASSWORD: $(ARTIFACTORY-Password)
3 changes: 3 additions & 0 deletions fabric-chaincode-shim/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ dependencies {

dependencyCheck {
format='ALL'
analyzers {
assemblyEnabled=false
}
}

sourceSets {
Expand Down

0 comments on commit 5608879

Please sign in to comment.