Skip to content

Commit

Permalink
chore: change pwsh to be OS agnostic instead of powershell.exe window…
Browse files Browse the repository at this point in the history
…s only
  • Loading branch information
cotovanu-cristian committed Oct 19, 2024
1 parent 8b71aa4 commit 39580c2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/jenkins-security-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Jenkins Security Scan

on:
push:
branches:
- develop
pull_request:
types: [ opened, synchronize, reopened ]
workflow_dispatch:

permissions:
security-events: write
contents: read
actions: read

jobs:
security-scan:
uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2
with:
java-cache: 'maven' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate.
java-version: 11 # Optionally specify what version of Java to set up for the build, or remove to use a recent default.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@
</goals>
<configuration>
<target>
<exec executable="powershell.exe">
<arg value=".\GenerateHelpFiles.ps1 " />
<exec executable="pwsh">
<arg value=".\GenerateHelpFiles.ps1 "/>
</exec>
</target>
</configuration>
Expand Down

0 comments on commit 39580c2

Please sign in to comment.