This file contains hidden or 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
| pipeline { | |
| stages { | |
| stage('Preparation') { | |
| env.mvnHome = tool 'M3' | |
| } | |
| stage('Build') { | |
| sh "'${mvnHome}/bin/mvn' -Dmaven.test.failure.ignore clean package" | |
| } | |
| } | |
| post { |
This file contains hidden or 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
| node { | |
| try { | |
| def mvnHome | |
| stage('Preparation') { | |
| git 'https://github.com/jglick/simple-maven-project-with-tests.git' | |
| mvnHome = tool 'M3' | |
| } | |
| stage('Build') { | |
| sh "'${mvnHome}/bin/mvn' -Dmaven.test.failure.ignore clean package" | |
| } |
This file contains hidden or 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
| // | |
| // URLBuilder.h | |
| // lyrical | |
| // | |
| // Created by Alex Chesters on 13/11/2015. | |
| // Copyright © 2015 Alex Chesters. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
This file contains hidden or 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
| if [ $CONFIGURATION == Release ]; then | |
| buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "${PROJECT_DIR}/${INFOPLIST_FILE}") | |
| buildNumber=$(($buildNumber + 1)) | |
| /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" "${PROJECT_DIR}/${INFOPLIST_FILE}" | |
| fi |
NewerOlder