added dev branch
This commit is contained in:
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@@ -7,7 +7,7 @@ pipeline {
|
||||
|
||||
stage('pulling master before adding files') {
|
||||
steps {
|
||||
sshagent(['0c22dc63-2ae0-4ad5-98e0-65aa0f0f411g']) {
|
||||
sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) {
|
||||
sh '''git config user.name "Jenkins Server"
|
||||
git config user.email jenkins@confdroid.com
|
||||
git pull origin master
|
||||
@@ -24,10 +24,11 @@ pipeline {
|
||||
|
||||
stage('puppet-lint tests') {
|
||||
steps {
|
||||
sh '''find . -iname *.pp -exec puppet-lint \\
|
||||
sh '''find . -iname *.pp -exec /var/lib/jenkins/bin/puppet-lint \\
|
||||
--no-class_inherits_from_params_class-check \\
|
||||
--no-variable_scope-check \\
|
||||
--no-80chars-check \\
|
||||
--no-140chars-check \\
|
||||
--no-arrow_alignment-check \\
|
||||
--no-autoloader_layout-check \\
|
||||
--log-format "%{path}:%{line}:%{check}:%{KIND}:%{message}" {} \\;'''
|
||||
@@ -96,7 +97,7 @@ Changelog of Git Changelog.
|
||||
|
||||
|
||||
{{#commits}}
|
||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/{{hash}}">{{hash}}</a> {{authorName}} <i>{{commitTime}}</i>
|
||||
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/{{hash}}">{{hash}}</a> {{authorName}} <i>{{commitTime}}</i>
|
||||
<p>
|
||||
<h3>{{{messageTitle}}}</h3>
|
||||
|
||||
@@ -129,7 +130,7 @@ Changelog of Git Changelog.
|
||||
{{/hasIssue}}
|
||||
|
||||
{{#commits}}
|
||||
[https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/{{hash}} {{hash}}] {{authorName}} {{commitTime}}
|
||||
[https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/{{hash}} {{hash}}] {{authorName}} {{commitTime}}
|
||||
|
||||
\'\'\'{{{messageTitle}}}\'\'\'
|
||||
|
||||
@@ -202,9 +203,11 @@ Changelog of Git Changelog.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
stage('recommit changes to repo') {
|
||||
steps {
|
||||
sshagent(['0c22dc63-2ae0-4ad5-98e0-65aa0f0f411g']) {
|
||||
sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) {
|
||||
sh '''git config user.name "Jenkins Server"
|
||||
git config user.email jenkins@confdroid.com
|
||||
echo `git add -A && git commit -am "recommit for updates in build $BUILD_NUMBER"`
|
||||
|
||||
Reference in New Issue
Block a user