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
# Schedule CodePipeline Build using CloudWatch Event Rule | |
Parameters: | |
ProjectName: | |
Type: String | |
Default: cicd-terraform | |
AllowedPattern: [a-zA-Z][a-zA-Z0-9-]* | |
MinLength: 3 | |
MaxLength: 64 | |
Description: Adhere to S3 naming standard; must begin with a letter and contain only alphanumeric characters or hyphens. |
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
// Abort Build 1 | |
if (env.BUILD_NUMBER.equals("1")) { | |
currentBuild.displayName = 'Parameter loading' | |
addBuildDescription('Please restart pipeline') | |
currentBuild.result = 'ABORTED' | |
error('Stopping initial manually triggered build as we only want to get the parameters') | |
} |
NewerOlder