You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewError(`OIDC provider is specified, but the JFrog CLI version ${version} does not support OIDC. Minimum required version is ${Utils.MIN_OIDC_SUPPORTED_VERSION}.\n Please update your JFrog CLI version or downgrade the setup-jfrog-cli action to v4.5.6.`);
`OIDC provider is specified, but the JFrog CLI version ${version} does not support OIDC. Minimum required version is ${Utils.MIN_OIDC_SUPPORTED_VERSION}.\n Please update your JFrog CLI version or downgrade the setup-jfrog-cli action to v4.5.6.`,
it('should throw an error if OIDC provider is specified and version is below minimum supported',()=>{
528
+
constjfrogCredentials: JfrogCredentials={
529
+
jfrogUrl: 'https://example.jfrog.io',
530
+
username: undefined,
531
+
password: undefined,
532
+
accessToken: undefined,
533
+
oidcProviderName: 'github',
534
+
oidcAudience: 'jfrog-github',
535
+
oidcTokenId: undefined,
536
+
};
537
+
538
+
constcliVersion: string='2.0.0';
539
+
consterrorMessage: string=`OIDC provider is specified, but the JFrog CLI version ${cliVersion} does not support OIDC. Minimum required version is ${Utils.MIN_OIDC_SUPPORTED_VERSION}.`;
it('should not throw an error if OIDC provider is specified and version is above minimum supported',()=>{
545
+
constjfrogCredentials: JfrogCredentials={
546
+
jfrogUrl: 'https://example.jfrog.io',
547
+
username: undefined,
548
+
password: undefined,
549
+
accessToken: undefined,
550
+
oidcProviderName: 'github',
551
+
oidcAudience: 'jfrog-github',
552
+
oidcTokenId: undefined,
553
+
};
554
+
555
+
constcliVersion: string='2.75.0';
556
+
consterrorMessage: string=`OIDC provider is specified, but the JFrog CLI version ${cliVersion} does not support OIDC. Minimum required version is ${Utils.MIN_OIDC_SUPPORTED_VERSION}.`;
it('should not throw an error if OIDC provider is not specified',()=>{
562
+
constjfrogCredentials: JfrogCredentials={
563
+
jfrogUrl: 'https://example.jfrog.io',
564
+
username: undefined,
565
+
password: undefined,
566
+
accessToken: undefined,
567
+
oidcProviderName: undefined,
568
+
oidcAudience: undefined,
569
+
oidcTokenId: undefined,
570
+
};
571
+
572
+
constcliVersion: string='2.74.3';
573
+
consterrorMessage: string=`OIDC provider is specified, but the JFrog CLI version ${cliVersion} does not support OIDC. Minimum required version is ${Utils.MIN_OIDC_SUPPORTED_VERSION}.`;
0 commit comments