Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: @actions/core/lib/command.js:66 #11

Open
ChintanPania opened this issue Oct 13, 2022 · 4 comments
Open

Error: @actions/core/lib/command.js:66 #11

ChintanPania opened this issue Oct 13, 2022 · 4 comments

Comments

@ChintanPania
Copy link

I'm getting an error while running the action, see below logs,

2022-10-13T11:50:16.0152871Z /github-action-runner/install/_work/_actions/estherk0/jenkins-trigger/1.0/node_modules/@actions/core/lib/command.js:66
2022-10-13T11:50:16.0158606Z         .replace(/%/g, '%25')
2022-10-13T11:50:16.0158851Z          ^
2022-10-13T11:50:16.0161264Z 
2022-10-13T11:50:16.0163161Z TypeError: (s || "").replace is not a function
@samithegreen
Copy link

you should write your params in this format:
parameter: | { "parm1":"value1" }

@sawanverma
Copy link

you should write your params in this format: parameter: | { "parm1":"value1" }

@samithegreen I dont think this is related. This was working earlier but even me too getting the same error which @ChintanPania mentioned.
@estherk0 any suggestions?

@arturgoms
Copy link

I having the same problem as @sawanverma :
Screenshot 2023-03-02 at 10 03 52

@mikemike396
Copy link

mikemike396 commented Aug 9, 2023

Passing the parameter like this works fine for us ->

parameter: '{"BRANCH":"test"}'

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

No branches or pull requests

5 participants