-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
~ experimental: jenkins pipeline for home server #2
- Loading branch information
Showing
3 changed files
with
972 additions
and
798 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,34 @@ | ||
pipeline { | ||
agent any | ||
tools { | ||
} | ||
environment { | ||
} | ||
// tools { | ||
// } | ||
// environment { | ||
// } | ||
stages { | ||
stage('Initialize') { | ||
steps { | ||
sh 'echo "PATH = ${PATH}"' | ||
} | ||
} | ||
stage('Build') { | ||
steps { | ||
} | ||
} | ||
stage('Testing') { | ||
stage('Install pnpm') { | ||
steps { | ||
sh 'npm install -g pnpm' | ||
} | ||
} | ||
stage('SonarQube Analysis') { | ||
steps { | ||
// stage('Build') { | ||
// steps { | ||
// } | ||
// } | ||
// stage('Testing') { | ||
// steps { | ||
// } | ||
// } | ||
// stage('SonarQube Analysis') { | ||
// steps { | ||
// properties such as sonar.host.url and sonar.login are configured in the m2 settings.xml for this profile | ||
// sh 'mvn clean verify -Psonar -Dsonar.projectKey=kcl' | ||
} | ||
} | ||
// } | ||
// } | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.