Skip to content

Conversation

aniket-okta
Copy link
Contributor

Problem

The Okta.AspNet NuGet package was not being created or deployed to Artifactory during CircleCI builds. Only Okta.AspNet.Abstractions and Okta.AspNetCore packages were being pushed, causing deployment failures.

Root Cause

The netCoreProjects list in build.cake was missing the Okta.AspNet and Okta.AspNet.Test projects. When CIRCLE_CI=True, the build system uses only the netCoreProjects list, effectively excluding Okta.AspNet from:

  • Building
  • Testing
  • Packaging
  • Deployment

Solution

Added Okta.AspNet and Okta.AspNet.Test to the netCoreProjects list to ensure they are included in CircleCI builds.

Changes

  • Modified build.cake line 22-27 to include Okta.AspNet and Okta.AspNet.Test in the netCoreProjects list

Expected Outcome

CircleCI builds will now generate and deploy all three packages:

  • Okta.AspNet.Abstractions.x.x.x.nupkg
  • Okta.AspNet.x.x.x.nupkg (now included)
  • Okta.AspNetCore.x.x.x.nupkg

Testing

The fix can be verified by checking that the artifacts directory contains all three .nupkg files after a CircleCI build completes.

Fixes deployment issues where Okta.AspNet package was missing from Artifactory pushes.

@aniket-okta aniket-okta self-assigned this Aug 12, 2025
@aniket-okta aniket-okta merged commit 5ac869c into master Aug 12, 2025
2 checks passed
@aniket-okta aniket-okta deleted the fix/include-okta-aspnet-in-circleci-build branch August 12, 2025 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants